File tree 10 files changed +16
-45
lines changed
10 files changed +16
-45
lines changed Original file line number Diff line number Diff line change 87
87
run : docker compose -f ./docker-compose-e2e.yaml up -d
88
88
- name : Poll until Query Connector is ready
89
89
run : |
90
- until curl -s http://localhost:3000/query-connector ; do
90
+ until curl -s http://localhost:3000/; do
91
91
echo "Waiting for Query Connector to be ready before running Playwright..."
92
92
sleep 5
93
93
done
Original file line number Diff line number Diff line change 85
85
-var "ersd_api_key=${ERSD_API_KEY}" \
86
86
-var "qc_tls_key=${TLS_KEY}" \
87
87
-var "qc_tls_cert=${TLS_CERT}"
88
- terraform apply -auto-approve -replace="module.ecs.dockerless_remote_image.dibbs"
88
+ terraform apply -auto-approve -replace="module.ecs.dockerless_remote_image.dibbs[\"query-connector\"]" \
89
+ -var-file="$WORKSPACE.tfvars" \
90
+ -var "umls_api_key=${UMLS_API_KEY}" \
91
+ -var "ersd_api_key=${ERSD_API_KEY}" \
92
+ -var "qc_tls_key=${TLS_KEY}" \
93
+ -var "qc_tls_cert=${TLS_CERT}"
Original file line number Diff line number Diff line change @@ -65,15 +65,15 @@ git checkout $BRANCH_NAME
65
65
docker-compose build --no-cache && docker-compose up -d
66
66
67
67
# Wait for TEFCA Viewer to be available
68
- URL=" http://localhost:3000/query-connector "
68
+ URL=" http://localhost:3000/"
69
69
while ! curl -s -o /dev/null -w " %{http_code}" " $URL " | grep -q " 200" ; do
70
70
echo " Waiting for $URL to be available..."
71
71
sleep 5
72
72
done
73
73
74
74
75
75
# Open in default browser
76
- open http://localhost:3000/query-connector
76
+ open http://localhost:3000/
77
77
78
78
# Prompt to end review session
79
79
read -p " Press enter to end review"
Original file line number Diff line number Diff line change @@ -8,16 +8,9 @@ const nextConfig = {
8
8
] ,
9
9
} ,
10
10
transpilePackages : [ "yaml" ] ,
11
- async rewrites ( ) {
12
- return [
13
- {
14
- source : "/query-connector/:slug*" ,
15
- destination : "/:slug*" ,
16
- } ,
17
- ] ;
18
- } ,
11
+
19
12
output : "standalone" ,
20
- basePath : process . env . NODE_ENV === "production" ? "/query-connector" : "" ,
13
+ basePath : "" ,
21
14
} ;
22
15
23
16
module . exports = nextConfig ;
Original file line number Diff line number Diff line change 1
- export const TEST_URL =
2
- process . env . TEST_ENV ?? "http://localhost:3000/query-connector" ;
1
+ export const TEST_URL = process . env . TEST_ENV ?? "http://localhost:3000/" ;
3
2
/**
4
3
*
5
4
*/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default function LandingPage() {
33
33
</ div >
34
34
< Image
35
35
alt = "Graphic illustrating what TEFCA is"
36
- src = "/query-connector/ tefca-graphic.svg"
36
+ src = "/tefca-graphic.svg"
37
37
width = { 250 }
38
38
height = { 300 }
39
39
priority
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default function FooterComponent() {
11
11
< footer className = { classNames ( "usa-footer" , styles . footerContainer ) } >
12
12
< div className = { styles . cdcLogoContainer } >
13
13
< Image
14
- src = "/query-connector/ CDC_logo.png"
14
+ src = "/CDC_logo.png"
15
15
alt = "CDC logo"
16
16
width = { 62 }
17
17
height = { 36 }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default function HeaderComponent() {
47
47
setShowMenu ( ! showMenu ) ;
48
48
} ;
49
49
const isProduction = process . env . NODE_ENV === "production" ;
50
- const backLink = isProduction ? "/query-connector" : "/" ;
50
+ const backLink = "/" ;
51
51
52
52
return (
53
53
< div className = { styles . headerContainer } >
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export default function SigninPage() {
59
59
< Image
60
60
alt = "Graphic illustrating what TEFCA is"
61
61
className = { styles . image }
62
- src = "/query-connector/ tefca-graphic.svg"
62
+ src = "/tefca-graphic.svg"
63
63
width = { 474 }
64
64
height = { 438 }
65
65
priority
You can’t perform that action at this time.
0 commit comments