Skip to content

Commit

Permalink
Fix asset prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Nov 15, 2021
1 parent ebd6f79 commit e7dc062
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const isProd = process.env.NODE_ENV === "production";

/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
}
assetPrefix: isProd ? "/ordbok/" : "",
};

0 comments on commit e7dc062

Please sign in to comment.