Update vite.config.js (#12)

* Update vite.config.js

* Update package.json
This commit is contained in:
John Parkhurst 2025-06-11 22:15:00 -04:00 committed by GitHub
parent 8c06978843
commit a2ce912ee8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "shiftsync-website-web", "name": "shiftsync-website-web",
"private": true, "private": true,
"version": "1.0.1", "version": "1.0.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"local": "vite", "local": "vite",

View file

@ -11,7 +11,7 @@ export default defineConfig(({ mode = 'local' }) => {
plugins: [react()], plugins: [react()],
server:{ server:{
host: true, host: true,
allowedHosts: ['.code-catalyst.com'], allowedHosts: true,
cors: true, cors: true,
hmr: isDev hmr: isDev
? { ? {