Skip to content

Commit

Permalink
feat: geospatial opening polygons first steps (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Campos authored May 21, 2024
1 parent e089457 commit 7be351f
Show file tree
Hide file tree
Showing 28 changed files with 3,262 additions and 1,573 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
dir: frontend
node_version: "20"
sonar_args: >
-Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts
-Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/__test__/**
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.project.monorepo.enabled=true
-Dsonar.projectKey=nr-silva-frontend
-Dsonar.sources=src
-Dsonar.tests.inclusions=**/*spec.ts
-Dsonar.tests.inclusions=**/__test__/**
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
sonar_token: ${{ secrets.SONAR_TOKEN_FRONTEND }}
# Only use triggers for PRs
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.9'

x-frontend: &frontend
environment:
VITE_ZONE: DEV
Expand All @@ -13,7 +11,7 @@ x-frontend: &frontend
restart: always
depends_on:
backend:
condition: service_healthy
condition: service_started

x-backend: &backend
healthcheck:
Expand Down
2 changes: 1 addition & 1 deletion frontend/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate"
X-Content-Type-Options "nosniff"
Strict-Transport-Security "max-age=31536000"
Content-Security-Policy "base-uri 'self'; connect-src 'self' https://*.gov.bc.ca https://*.amazoncognito.com https://*.cloudfront.net https://cdnjs.cloudflare.com/ https://cognito-idp.ca-central-1.amazonaws.com https://results-ques.netlify.app/api; default-src 'self'; font-src 'self' https://dq9dozspu8y40.cloudfront.net/20230404192231/; frame-src 'self' https://*.gov.bc.ca; img-src 'self' http://www.w3.org/ https://cdnjs.cloudflare.com/ https://www.google.ca/maps/; manifest-src 'self'; media-src 'self'; object-src 'none'; script-src 'unsafe-inline' 'report-sample' 'self' https://cdn.jsdelivr.net/npm/; script-src-elem 'unsafe-inline' 'report-sample' 'self' https://cdn.jsdelivr.net/npm/ https://dq9dozspu8y40.cloudfront.net/20230404192231/; style-src 'report-sample' 'self' https://cdn.jsdelivr.net/npm/ https://dq9dozspu8y40.cloudfront.net/; style-src-elem 'report-sample' 'self' https://cdn.jsdelivr.net/npm/ http://cdnjs.cloudflare.com/ https://dq9dozspu8y40.cloudfront.net/20230404192231/; worker-src 'none';"
Content-Security-Policy "base-uri 'self'; connect-src 'self' https://*.gov.bc.ca https://*.amazoncognito.com https://*.cloudfront.net https://cdnjs.cloudflare.com/ https://cognito-idp.ca-central-1.amazonaws.com https://results-ques.netlify.app/api; default-src 'self'; font-src 'self' https://dq9dozspu8y40.cloudfront.net/20230404192231/; frame-src 'self' https://*.gov.bc.ca; img-src 'self' http://www.w3.org/ https://cdnjs.cloudflare.com/ https://www.google.ca/maps/ https://*.tile.openstreetmap.org/; manifest-src 'self'; media-src 'self'; object-src 'none'; script-src 'unsafe-inline' 'report-sample' 'self' https://cdn.jsdelivr.net/npm/; script-src-elem 'unsafe-inline' 'report-sample' 'self' https://cdn.jsdelivr.net/npm/ https://dq9dozspu8y40.cloudfront.net/20230404192231/; style-src 'report-sample' 'self' https://cdn.jsdelivr.net/npm/ https://dq9dozspu8y40.cloudfront.net/; style-src-elem 'report-sample' 'self' https://cdn.jsdelivr.net/npm/ http://cdnjs.cloudflare.com/ https://dq9dozspu8y40.cloudfront.net/20230404192231/; worker-src 'none';"
Referrer-Policy "same-origin"
}
handle /env.js {
Expand Down
Loading

0 comments on commit 7be351f

Please sign in to comment.