From bd1e1904e490030b6e44e0d2d8f9949bc6ed962a Mon Sep 17 00:00:00 2001 From: Peter Bomber Date: Thu, 26 Oct 2023 15:58:34 +1300 Subject: [PATCH] revert launch config changes --- .vscode/launch.json | 12 ++--------- resources/yaml/azure-tcpdump-flow.yml | 31 --------------------------- webview-ui/vite.config.ts | 2 +- 3 files changed, 3 insertions(+), 42 deletions(-) delete mode 100644 resources/yaml/azure-tcpdump-flow.yml diff --git a/.vscode/launch.json b/.vscode/launch.json index eb276a6e8..a320da86f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -35,18 +35,10 @@ "preLaunchTask": "npm: test-compile" }, { - "name": "Webview UI (Edge)", + "name": "Webview UI", "type": "msedge", "request": "launch", - "url": "http://localhost:3002", - "webRoot": "${workspaceFolder}/webview-ui", - "preLaunchTask": "dev:webview" - }, - { - "name": "Webview UI (Chrome)", - "type": "chrome", - "request": "launch", - "url": "http://localhost:3002", + "url": "http://localhost:3000", "webRoot": "${workspaceFolder}/webview-ui", "preLaunchTask": "dev:webview" } diff --git a/resources/yaml/azure-tcpdump-flow.yml b/resources/yaml/azure-tcpdump-flow.yml deleted file mode 100644 index 86e6c5e5e..000000000 --- a/resources/yaml/azure-tcpdump-flow.yml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: debug-aks-agentpool-52310376-vmss000008 - namespace: default -spec: - containers: - - args: ["-c", "sleep infinity"] - command: ["/bin/sh"] - image: docker.io/corfr/tcpdump - imagePullPolicy: IfNotPresent - name: debug - resources: {} - securityContext: - privileged: true - runAsUser: 0 - volumeMounts: - - mountPath: /host - name: host-volume - volumes: - - name: host-volume - hostPath: - path: / - dnsPolicy: ClusterFirst - nodeSelector: - kubernetes.io/hostname: aks-agentpool-52310376-vmss000008 - restartPolicy: Never - securityContext: {} - hostIPC: true - hostNetwork: true - hostPID: true \ No newline at end of file diff --git a/webview-ui/vite.config.ts b/webview-ui/vite.config.ts index f5b2ecb90..918bc22f3 100644 --- a/webview-ui/vite.config.ts +++ b/webview-ui/vite.config.ts @@ -14,7 +14,7 @@ export default defineConfig({ checker({typescript: true}) ], server: { - port: 3002 + port: 3000 }, build: { rollupOptions: {