|
@ -21,15 +21,15 @@ var Config struct { |
|
|
bind string |
|
|
bind string |
|
|
filesDir string |
|
|
filesDir string |
|
|
metaDir string |
|
|
metaDir string |
|
|
noLogs bool |
|
|
|
|
|
allowHotlink bool |
|
|
|
|
|
siteName string |
|
|
siteName string |
|
|
siteURL string |
|
|
siteURL string |
|
|
fastcgi bool |
|
|
|
|
|
remoteUploads bool |
|
|
|
|
|
contentSecurityPolicy string |
|
|
contentSecurityPolicy string |
|
|
fileContentSecurityPolicy string |
|
|
fileContentSecurityPolicy string |
|
|
xFrameOptions string |
|
|
xFrameOptions string |
|
|
|
|
|
noLogs bool |
|
|
|
|
|
allowHotlink bool |
|
|
|
|
|
fastcgi bool |
|
|
|
|
|
remoteUploads bool |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var Templates = make(map[string]*pongo2.Template) |
|
|
var Templates = make(map[string]*pongo2.Template) |
|
|