Skip to content
Snippets Groups Projects

Google Cloud Deployment

Merged D'Abrantes, Felipe (UG - Comp Sci & Elec Eng) requested to merge gcloud-deployment into main
27 files
+ 791
8
Compare changes
  • Side-by-side
  • Inline
Files
27
@@ -24,13 +24,8 @@ user.service.uri = "http://localhost:9000/"
# Application Secret Key - https://www.playframework.com/documentation/2.8.x/ApplicationSecret
play.http.secret.key="DUvbrcM2AbuB7oXboI1x`ZI_?1Iou>/ch2@lFXfrvVkWlHuA848y?GyR/0i2Ma:A"
# Disable CSRF
play.filters.disabled += play.filters.csrf.CSRFFilter
# Enable and configure CORS
play.filters.enabled += play.filters.cors.CORSFilter
# play.filters.cors.allowedOrigins = ["localhost:9000"]
# play.filters.cors.allowedHttpMethods = ["GET", "POST"]
# Disable all default filters
play.filters.enabled=[]
# Use a custom error handler to not return HTML views
play.http.errorHandler = "models.CustomErrorHandler"
Loading