Skip to content

Commit

Permalink
fix: use prod URL (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Aug 3, 2020
1 parent b5f1af4 commit de14977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Expand Up @@ -4,9 +4,9 @@ const withMDX = require("@next/mdx")({
});

module.exports = withMDX({
assetPrefix: isProd ? "https://socialgouv.github.io/emjpm-portail" : "",
assetPrefix: isProd ? "https://emjpm-portail.fabrique.social.gouv.fr" : "",
pageExtensions: ["js", "jsx", "md", "mdx"],
publicRuntimeConfig: {
appUrl: isProd ? "https://socialgouv.github.io/emjpm-portail" : "http://localhost:3000",
appUrl: isProd ? "https://emjpm-portail.fabrique.social.gouv.fr" : "http://localhost:3000",
},
});

0 comments on commit de14977

Please sign in to comment.