Skip to content

Commit

Permalink
fix: Update the targetPort and update baseURL (decaporg#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcell authored Jul 8, 2022
1 parent be22c5f commit 37b3456
Show file tree
Hide file tree
Showing 3 changed files with 1,293 additions and 1,316 deletions.
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@

[context.deploy-preview]
command = "yarn build:preview"

[dev]
framework = "hugo"
targetPort = 3000
2 changes: 1 addition & 1 deletion site/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<base href="{{ if getenv "CONTEXT" }}{{ cond (eq "production" (getenv "CONTEXT")) (getenv "URL") (getenv "DEPLOY_PRIME_URL") }}{{ else }}{{ $.Site.BaseURL }}{{ end }}">
<base href="{{ $.Site.BaseURL }}">

<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,700" rel="stylesheet">

Expand Down
Loading

0 comments on commit 37b3456

Please sign in to comment.