Finished subpath implementation

This commit is contained in:
2022-01-31 10:20:19 +01:00
parent 6ac80f8647
commit bc4c27cff3
3 changed files with 5 additions and 8 deletions

View File

@@ -30,12 +30,12 @@ func init() {
ServerAddress = os.Getenv("SERVER_ADDRESS")
Prefix = os.Getenv("PREFIX")
Prefix = path.Join(os.Getenv("PREFIX"))
DatabaseFile = os.Getenv("DATABASE_FILE")
FrontendDir = os.Getenv("FRONTEND_DIR")
PageBase = pageBase{
BasePath: "http://" + path.Join(ServerAddress, Prefix),
BasePath: "http://" + path.Join(ServerAddress, Prefix) + "/",
}
}