fix: change static root
This commit is contained in:
parent
e3d2ceb808
commit
68d33d5ad9
@ -18,7 +18,7 @@ func Run(cfg config.Server, app *app.AppContainer) {
|
|||||||
fiberApp := fiber.New()
|
fiberApp := fiber.New()
|
||||||
|
|
||||||
// Serve static files (HTML, CSS, JS)
|
// Serve static files (HTML, CSS, JS)
|
||||||
fiberApp.Static("/", "./")
|
fiberApp.Static("/", "./static")
|
||||||
|
|
||||||
api := fiberApp.Group("/api")
|
api := fiberApp.Group("/api")
|
||||||
// register routes here
|
// register routes here
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user