Merge pull request #768 from dermotduffy/high-port-devcontainer

Use a higher port number for devcontainer rollup
This commit is contained in:
Dermot Duffy
2022-07-23 18:45:59 -07:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
"workspaceFolder": "${localWorkspaceFolder}", "workspaceFolder": "${localWorkspaceFolder}",
"shutdownAction": "stopCompose", "shutdownAction": "stopCompose",
"portsAttributes": { "portsAttributes": {
"1000": { "10001": {
"label": "Rollup", "label": "Rollup",
"onAutoForward": "silent" "onAutoForward": "silent"
}, },
@@ -18,7 +18,7 @@
"onAutoForward": "silent" "onAutoForward": "silent"
} }
}, },
"forwardPorts": [1000, "hass:8123", "frigate:5000"], "forwardPorts": [10001, "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:1000/frigate-hass-card.js", "url": "http://localhost:10001/frigate-hass-card.js",
"type": "module", "type": "module",
"id": "00c459541bac4290af01c51bf9c06ba1" "id": "00c459541bac4290af01c51bf9c06ba1"
} }
+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: 1000, port: 10001,
allowCrossOrigin: true, allowCrossOrigin: true,
headers: { headers: {
'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Origin': '*',