Skip to content

Commit b1d6af7

Browse files
committed
Add asset prefix and base path for staticfiles
1 parent deb4163 commit b1d6af7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

next.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
output: "export",
4-
// typescript: {
5-
// ignoreBuildErrors: true,
6-
// },
4+
assetPrefix: process.env.ASSET_PREFIX,
5+
basePath: process.env.BASE_PATH,
76
};
87
module.exports = nextConfig;

0 commit comments

Comments
 (0)