Update vite.config.js (#12)
* Update vite.config.js * Update package.json
This commit is contained in:
parent
8c06978843
commit
a2ce912ee8
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
? {
|
? {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue