Skip to content

Commit

Permalink
Merge pull request #102 from xeptagondev/staging_release_6
Browse files Browse the repository at this point in the history
update repo path
  • Loading branch information
palindaa authored Nov 22, 2024
2 parents 9737c9e + 53a74ba commit 7175836
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ui/lib/prefix.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const prefix = process.env.NEXT_PUBLIC_BASE_PATH || '/undp-digital-development-compass';
const prefix = process.env.NEXT_PUBLIC_BASE_PATH || '/digital-development-compass';

export { prefix };
4 changes: 2 additions & 2 deletions ui/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const nextConfig = {
loader: "akamai",
path: "",
},
basePath: "/undp-digital-development-compass",
assetPrefix: "/undp-digital-development-compass",
basePath: "/digital-development-compass",
assetPrefix: "/digital-development-compass",
env: {
PASSWORD_PROTECT: process.env.NODE_ENV !== "development",
SITE_CONFIG: process.env.ENV ?? "staging"
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "flagpack/dist/flagpack.css";
import Head from "next/head";

import "../styles/global.css";
const prefix = process.env.NEXT_PUBLIC_BASE_PATH || '/undp-digital-development-compass';
const prefix = process.env.NEXT_PUBLIC_BASE_PATH || '/digital-development-compass';
export default function MyApp({ Component, pageProps }) {
return (
<>
Expand Down
4 changes: 2 additions & 2 deletions ui/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ select option[value="placeholder"] {

@font-face {
font-family: "SohneBreitFont";
src: url("/undp-digital-development-compass/fonts/soehne-breit-web-dreiviertelfett.woff2") format("woff2"),
url("/undp-digital-development-compass/fonts/soehne-breit-web-dreiviertelfett.woff") format("woff");
src: url("/digital-development-compass/fonts/soehne-breit-web-dreiviertelfett.woff2") format("woff2"),
url("/digital-development-compass/fonts/soehne-breit-web-dreiviertelfett.woff") format("woff");
font-weight: normal;
font-style: normal;
}
Expand Down

0 comments on commit 7175836

Please sign in to comment.