diff --git a/.github/workflows/deploy_dev.yml b/.github/workflows/deploy_dev.yml index f9bdcbb..1d1dd72 100644 --- a/.github/workflows/deploy_dev.yml +++ b/.github/workflows/deploy_dev.yml @@ -44,4 +44,4 @@ jobs: push: true tags: eu.gcr.io/factorio-sites/blueprints:dev - run: gsutil -h "Cache-Control:public, max-age=31536000" -m rsync -r -d ./dist/apps/blueprints/.next/static gs://factorio-blueprints-assets/dev/_next/static - - run: gcloud run deploy factorio-blueprints-dev --image=eu.gcr.io/factorio-sites/blueprints:dev --platform managed --region=europe-west4 --remove-env-vars PUBLIC_URL --update-env-vars ASSET_PREFIX=https://storage.googleapis.com/factorio-blueprints-assets/dev,CF_WEB_ANALYTICS=6c563c1e5db141129a5fc95d5c459722 + - run: gcloud run deploy factorio-blueprints-dev --image=eu.gcr.io/factorio-sites/blueprints:dev --platform managed --region=europe-west4 --remove-env-vars PUBLIC_URL --update-env-vars ASSET_PREFIX=https://factorio-blueprints-assets.storage.googleapis.com/dev,CF_WEB_ANALYTICS=6c563c1e5db141129a5fc95d5c459722 diff --git a/apps/blueprints/next.config.js b/apps/blueprints/next.config.js index 1573a96..dfab3fa 100644 --- a/apps/blueprints/next.config.js +++ b/apps/blueprints/next.config.js @@ -42,7 +42,7 @@ module.exports = { { key: "Content-Security-Policy", value: - "script-src 'self' https://storage.googleapis.com/factorio-blueprints-assets https://static.cloudflareinsights.com ;", + "script-src 'self' https://factorio-blueprints-assets.storage.googleapis.com https://static.cloudflareinsights.com ;", }, { key: "X-Frame-Options",