From d9cb54e3adbcd01edffb728c4d6508e798f04fcb Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Sat, 19 Feb 2022 21:02:46 -0500 Subject: [PATCH] Update devcontainer.json --- .../.devcontainer/devcontainer.json | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/samples/react-functional-component-with-data-fetch/.devcontainer/devcontainer.json b/samples/react-functional-component-with-data-fetch/.devcontainer/devcontainer.json index 003ac4b58..fd3b0f2b1 100644 --- a/samples/react-functional-component-with-data-fetch/.devcontainer/devcontainer.json +++ b/samples/react-functional-component-with-data-fetch/.devcontainer/devcontainer.json @@ -1,7 +1,7 @@ // For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer { - "name": "SPFx 1.8.2", - "image": "docker.io/m365pnp/spfx:1.8.2", + "name": "SPFx 1.13.1", + "image": "docker.io/m365pnp/spfx:1.13.1", // Set *default* container specific settings.json values on container create. "settings": {}, // Add the IDs of extensions you want installed when the container is created. @@ -12,8 +12,7 @@ // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [ 4321, - 35729, - 5432 + 35729 ], "portsAttributes": { "4321": { @@ -22,11 +21,12 @@ "onAutoForward": "silent", "requireLocalPort": true }, - "5432": { - "protocol": "https", - "label": "Workbench", - "onAutoForward": "silent" - }, + // Not needed for SPFx>= 1.12.1 + // "5432": { + // "protocol": "https", + // "label": "Workbench", + // "onAutoForward": "silent" + // }, "35729": { "protocol": "https", "label": "LiveReload", @@ -36,4 +36,4 @@ }, "postCreateCommand": "bash .devcontainer/spfx-startup.sh", "remoteUser": "node" -} \ No newline at end of file +}