mirror of https://github.com/gofiber/fiber.git
Update README_NEW.md
parent
27ad5cd237
commit
f74a943e85
|
@ -77,9 +77,9 @@ app.Static("./public")
|
|||
// http://localhost:3000/js/script.js
|
||||
// http://localhost:3000/css/style.css
|
||||
|
||||
app.Static("/50shades", "./private")
|
||||
// http://localhost:3000/50shades/js/script.js
|
||||
// http://localhost:3000/50shades/css/style.css
|
||||
app.Static("/xxx", "./public")
|
||||
// http://localhost:3000/xxx/js/script.js
|
||||
// http://localhost:3000/xxx/css/style.css
|
||||
|
||||
app.Listen(3000)
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue