diff --git a/bruno/KnockOutWhist/Login/Request Status.bru b/bruno/KnockOutWhist/Login/Request Status.bru new file mode 100644 index 0000000..1b443a0 --- /dev/null +++ b/bruno/KnockOutWhist/Login/Request Status.bru @@ -0,0 +1,15 @@ +meta { + name: Request Status + type: http + seq: 1 +} + +get { + url: {{host}}/status + body: none + auth: inherit +} + +settings { + encodeUrl: true +} diff --git a/bruno/KnockOutWhist/Login/folder.bru b/bruno/KnockOutWhist/Login/folder.bru new file mode 100644 index 0000000..9b12963 --- /dev/null +++ b/bruno/KnockOutWhist/Login/folder.bru @@ -0,0 +1,8 @@ +meta { + name: Login + seq: 3 +} + +auth { + mode: inherit +} diff --git a/bruno/KnockOutWhist/environments/Prod.bru b/bruno/KnockOutWhist/environments/Prod.bru new file mode 100644 index 0000000..57d1492 --- /dev/null +++ b/bruno/KnockOutWhist/environments/Prod.bru @@ -0,0 +1,3 @@ +vars { + host: https://knockout.janis-eccarius.de/api +} diff --git a/knockoutwhistfrontend b/knockoutwhistfrontend index e972f1c..d8b3904 160000 --- a/knockoutwhistfrontend +++ b/knockoutwhistfrontend @@ -1 +1 @@ -Subproject commit e972f1c4321ec2633e2989dbdaa714774632c495 +Subproject commit d8b3904cbc8b08ed9522d7b9b4fa8af79bc75def diff --git a/knockoutwhistweb/conf/staging.conf b/knockoutwhistweb/conf/staging.conf new file mode 100644 index 0000000..32328d3 --- /dev/null +++ b/knockoutwhistweb/conf/staging.conf @@ -0,0 +1,12 @@ +include "application.conf" + +play.http.context="/api" + +play.modules.enabled += "modules.GatewayModule" + +play.filters.cors { + allowedOrigins = ["https://st.knockout.janis-eccarius.de"] + allowedCredentials = true + allowedHttpMethods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"] + allowedHttpHeaders = ["Accept", "Content-Type", "Origin", "X-Requested-With"] +} \ No newline at end of file