mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
This commit is contained in:
@@ -106,7 +106,7 @@ func Serve() error {
|
||||
func frontendHandler() fasthttp.RequestHandler {
|
||||
// Create the file server
|
||||
fs := &fasthttp.FS{
|
||||
Root: "./web",
|
||||
Root: static.TempFrontendPath,
|
||||
IndexNames: []string{"index.html"},
|
||||
CacheDuration: 0,
|
||||
}
|
||||
|
Reference in New Issue
Block a user