diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2023-01-30 22:22:59 +0000 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2023-02-02 21:56:07 +0000 |
| commit | 49b3015a16287bb4486aa64c5c26f05f7c22089c (patch) | |
| tree | 2c2e3ef49181ed740ac938b00a00ae5958d96d30 /opendc-web/opendc-web-server/src/main/resources/application.properties | |
| parent | 6927c51885bb3073b310150c4f40c64eea44a919 (diff) | |
refactor(web/server): Remove unnecessary service indirections
This change removes the unnecessary service classes where they are only
used to forward data from the resource to the entities. Furthermore,
DTOs are now moved from the service layer to the resources.
Diffstat (limited to 'opendc-web/opendc-web-server/src/main/resources/application.properties')
| -rw-r--r-- | opendc-web/opendc-web-server/src/main/resources/application.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-server/src/main/resources/application.properties b/opendc-web/opendc-web-server/src/main/resources/application.properties index 40933304..0f47db30 100644 --- a/opendc-web/opendc-web-server/src/main/resources/application.properties +++ b/opendc-web/opendc-web-server/src/main/resources/application.properties @@ -20,6 +20,7 @@ # Enable CORS quarkus.http.cors=true +quarkus.http.cors.origins=http://localhost:3000,https://opendc.org # Security quarkus.oidc.enabled=${opendc.security.enabled} |
