Skip to content

Commit faef15f

Browse files
committed
I had forgotten to use the asset prefix in next.config.mjs
1 parent bb68088 commit faef15f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/ui-development.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ jobs:
104104
export GIT_SHA=${GIT_SHA}
105105
export USE_MOCK_DATA=${USE_MOCK_DATA}
106106
npm run build
107-
cat out/index.html
108107
working-directory: ui
109108

110109
- name: Deploy to GitHub Pages

ui/next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
output: 'export',
4+
assetPrefix: process.env.ASSET_PREFIX || '',
45
webpack(config) {
56
// Grab the existing rule that handles SVG imports
67
const fileLoaderRule = config.module.rules.find((rule) => rule.test?.test?.('.svg'));

0 commit comments

Comments
 (0)