Skip to content

Commit

Permalink
CSCEXAM-000 Experiment with the new app builder
Browse files Browse the repository at this point in the history
  • Loading branch information
lupari committed Aug 14, 2024
1 parent c97c326 commit 8427358
Show file tree
Hide file tree
Showing 6 changed files with 4,708 additions and 3,984 deletions.
11 changes: 6 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@
"prefix": "xm",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/exam",
"outputPath": {
"base": "dist/exam"
},
"index": "ui/src/index.html",
"main": "ui/src/main.ts",
"polyfills": ["@angular/localize/init", "ui/src/polyfills.ts"],
"tsConfig": "ui/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": ["ui/src/favicon.ico", "ui/src/assets"],
"styles": ["ui/src/styles.scss"],
"scripts": []
"scripts": [],
"browser": "ui/src/main.ts"
},
"configurations": {
"production": {
Expand Down Expand Up @@ -58,7 +60,6 @@
"sourceMap": true
},
"development": {
"buildOptimizer": false,
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
Expand Down
20 changes: 0 additions & 20 deletions app/controllers/assets/ScriptController.scala

This file was deleted.

20 changes: 13 additions & 7 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,19 @@ database.dispatcher {
play.ws.timeout.connection = "10s"

# CORS configuration, enable and configure at will
#play.filters.cors {
# pathPrefixes = ["/some/path", ...]
# allowedOrigins = ["http://www.example.com", ...]
# allowedHttpMethods = ["GET", "POST"]
# allowedHttpHeaders = ["Accept"]
# preflightMaxAge = 3 days
#}
# play.filters.cors {
# pathPrefixes = ["/some/path", ...]
# allowedOrigins = ["http://www.example.com", ...]
# allowedHttpMethods = ["GET", "POST"]
# allowedHttpHeaders = ["Accept"]
# preflightMaxAge = 3 days
# }

# Static assets path
play.assets {
path = "/public/browser"
urlPrefix = "/assets"
}

########################################################################################################################
# EXAM specific configurations. Feel free to configure.
Expand Down
Loading

0 comments on commit 8427358

Please sign in to comment.