File tree 9 files changed +6
-141
lines changed
9 files changed +6
-141
lines changed Original file line number Diff line number Diff line change @@ -1430,7 +1430,7 @@ let to_assoc_list etags_json : (string * string) list =
1430
1430
Exception. internal " etags.json must be a top-level object."
1431
1431
1432
1432
1433
- let admin_ui_template = File. readfile ~root: Templates " ui.html "
1433
+ let admin_ui_template = " "
1434
1434
1435
1435
let admin_ui_html
1436
1436
~(canvas_id : Uuidm.t )
@@ -1571,7 +1571,7 @@ type login_page =
1571
1571
; password : string }
1572
1572
[@@ deriving yojson ]
1573
1573
1574
- let login_template = File. readfile ~root: Templates " login.html "
1574
+ let login_template = " "
1575
1575
1576
1576
(* handle_local_login is used to handle GET/POST to /login for local
1577
1577
* development, bypassing Auth0. *)
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ DARK_CONFIG_RUNDIR=/home/dark/app/rundir
3
3
DARK_CONFIG_ROOT_DIR=/home/dark/app
4
4
5
5
# Important dirs
6
- DARK_CONFIG_TEMPLATES_DIR=/home/dark/app/backend/templates
6
+ DARK_CONFIG_TEMPLATES_DIR=/home/dark/app/fsharp- backend/src/ApiServer/Templates
7
7
DARK_CONFIG_WEBROOT_DIR=/home/dark/app/backend/static
8
8
DARK_CONFIG_SWAGGER_DIR=/home/dark/app/backend/swagger
9
9
DARK_CONFIG_MIGRATIONS_DIR=/home/dark/app/backend/migrations
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ DARK_CONFIG_RUNDIR=/home/dark/app/rundir
8
8
DARK_CONFIG_ROOT_DIR=/home/dark/app
9
9
10
10
# Important dirs
11
- DARK_CONFIG_TEMPLATES_DIR=/home/dark/app/backend/templates
11
+ DARK_CONFIG_TEMPLATES_DIR=/home/dark/app/fsharp- backend/src/ApiServer/Templates
12
12
DARK_CONFIG_WEBROOT_DIR=/home/dark/app/backend/static
13
13
DARK_CONFIG_SWAGGER_DIR=/home/dark/app/backend/swagger
14
14
DARK_CONFIG_MIGRATIONS_DIR=/home/dark/app/backend/migrations
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ DARK_CONFIG_RUNDIR=/home/dark/app/rundir
7
7
DARK_CONFIG_ROOT_DIR=/home/dark/app
8
8
9
9
# Important dirs
10
- DARK_CONFIG_TEMPLATES_DIR=/home/dark/app/backend/templates
10
+ DARK_CONFIG_TEMPLATES_DIR=/home/dark/app/fsharp- backend/src/ApiServer/Templates
11
11
DARK_CONFIG_WEBROOT_DIR=/home/dark/app/backend/static
12
12
DARK_CONFIG_SWAGGER_DIR=/home/dark/app/backend/swagger
13
13
DARK_CONFIG_MIGRATIONS_DIR=/home/dark/app/backend/migrations
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM dark-fsharp-service:latest
4
4
5
5
WORKDIR /home/dark
6
6
7
- COPY --chown=dark:dark backend/templates templates
7
+ COPY --chown=dark:dark fsharp- backend/src/ApiServer/Templates templates
8
8
COPY --chown=dark:dark scripts scripts
9
9
10
10
RUN mkdir -p webroot/static
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ set -euo pipefail
9
9
DIR=$1
10
10
11
11
cp scripts/linting/_check-linked-libs " $DIR /"
12
- cp -R backend/templates " $DIR /"
13
12
cp -R scripts " $DIR /"
14
13
15
14
mkdir -p " $DIR /bin"
Original file line number Diff line number Diff line change @@ -529,9 +529,6 @@ def mark(should, f):
529
529
else :
530
530
should .fsharp_backend_quick_build = True
531
531
532
- elif ("/backend/templates/" in f ) and (".html" in f ):
533
- should .backend_build = True
534
-
535
532
elif ("/fsharp-backend/src/ApiServer/Templates/" in f ) and (".html" in f ):
536
533
should .reload_fsharp_server = True
537
534
You can’t perform that action at this time.
0 commit comments