Skip to content

Commit

Permalink
ui: update netlify configs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalecks committed Oct 19, 2023
1 parent 0103df6 commit 5d51007
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion projects/ui/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,12 @@
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
X-Content-Type-Options = "nosniff"

[dev]
command = "yarn start"
framework = "#custom"
port = 8888
targetPort = 4173
functionsPort = 59199
autoLaunch = true
2 changes: 1 addition & 1 deletion projects/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
},
"scripts": {
"start": "vite --port 4173",
"dev": "netlify dev --command \"yarn start\" --targetPort 4173 --framework vite",
"dev": "netlify dev",
"serve": "vite preview",
"build": "yarn generate && tsc && vite build",
"build:dev": "tsc --noEmit --watch",
Expand Down

0 comments on commit 5d51007

Please sign in to comment.