Change Rollup port to 1000

This commit is contained in:
Felipe Santos
2022-07-06 03:39:27 +00:00
parent 6917dd98b3
commit cbb25cd334
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
"workspaceFolder": "${localWorkspaceFolder}", "workspaceFolder": "${localWorkspaceFolder}",
"shutdownAction": "stopCompose", "shutdownAction": "stopCompose",
"portsAttributes": { "portsAttributes": {
"41000": { "1000": {
"label": "Rollup", "label": "Rollup",
"onAutoForward": "silent" "onAutoForward": "silent"
}, },
@@ -18,7 +18,7 @@
"onAutoForward": "silent" "onAutoForward": "silent"
} }
}, },
"forwardPorts": ["hass:8123", "frigate:5000"], "forwardPorts": [1000, "hass:8123", "frigate:5000"],
"initializeCommand": ".devcontainer/initialize.sh", "initializeCommand": ".devcontainer/initialize.sh",
"postCreateCommand": "yarn install", "postCreateCommand": "yarn install",
"extensions": [ "extensions": [
@@ -5,7 +5,7 @@
"data": { "data": {
"items": [ "items": [
{ {
"url": "http://localhost:41000/frigate-hass-card.js", "url": "http://localhost:1000/frigate-hass-card.js",
"type": "module", "type": "module",
"id": "00c459541bac4290af01c51bf9c06ba1" "id": "00c459541bac4290af01c51bf9c06ba1"
} }
+2 -2
View File
@@ -5,10 +5,10 @@
"type": "pwa-chrome", "type": "pwa-chrome",
"request": "launch", "request": "launch",
"name": "Launch Chrome against Home Assistant", "name": "Launch Chrome against Home Assistant",
"url": "http://localhost:48123", "url": "http://localhost:8123",
"webRoot": "${workspaceFolder}/dist", "webRoot": "${workspaceFolder}/dist",
"preLaunchTask": "Rollup", "preLaunchTask": "Rollup",
"resolveSourceMapLocations": ["http://localhost:41000/**"] "resolveSourceMapLocations": ["http://localhost:1000/**"]
} }
] ]
} }
+1 -1
View File
@@ -19,7 +19,7 @@ const dev = watch || process.env.DEV === 'true' || process.env.DEV === '1';
const serveopts = { const serveopts = {
contentBase: ['./dist'], contentBase: ['./dist'],
host: '0.0.0.0', host: '0.0.0.0',
port: 41000, port: 1000,
allowCrossOrigin: true, allowCrossOrigin: true,
headers: { headers: {
'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Origin': '*',