Skip to content

Commit

Permalink
chore: fix sass compile error when asset url is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverDudgeon committed Nov 8, 2024
1 parent de7d68c commit 53ac399
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let nextConfig = {
basePath: process.env.NEXT_PUBLIC_BASE_PATH || undefined,
transpilePackages: MONOREPO_MODE ? ["@squonk/mui-theme", "@squonk/sdf-parser"] : [],
sassOptions: {
prependData: `$assetsURL: '${process.env.ASSET_URL}';`,
prependData: `$assetsURL: "${process.env.ASSET_URL ?? "https://squonk.informaticsmatters.org"}";`,
},
images: {
domains: ["squonk.informaticsmatters.org"],
Expand Down
2 changes: 1 addition & 1 deletion src/styles/mixins/font-face-template.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$base_url: "https://squonk.informaticsmatters.org" !default;
$base_url: "" !default;

@mixin font-face-template($font-family, $file-name, $style, $weight) {
@font-face {
Expand Down

0 comments on commit 53ac399

Please sign in to comment.