Added image upload frontend

This commit is contained in:
2018-03-02 17:18:29 +01:00
parent 7751cd81a3
commit 833069d360
5 changed files with 63 additions and 3 deletions

View File

@ -23,6 +23,9 @@ func configure(app *aero.Application) *aero.Application {
app.Sessions.Duration = 3600 * 24 * 30 * 6
app.Sessions.Store = nanostore.New(arn.DB.Collection("Session"))
// Content security policy
app.ContentSecurityPolicy.Set("img-src", "https: data:")
// Security
configureHTTPS(app)