Finished subpath implementation
This commit is contained in:
@@ -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) + "/",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user