Skip to content

Commit 28f0d33

Browse files
author
Jikun
committed
recover old runtime
1 parent 0dd32b7 commit 28f0d33

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

schema/staticwebapp.config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,11 +585,19 @@
585585
"apiRuntime": {
586586
"type": "string",
587587
"enum": [
588+
"dotnet:3.1",
589+
"dotnet:6.0",
588590
"dotnet:8.0",
591+
"dotnet-isolated:6.0",
592+
"dotnet-isolated:7.0",
589593
"dotnet-isolated:8.0",
590594
"dotnet-isolated:9.0",
595+
"node:12",
596+
"node:14",
597+
"node:16",
591598
"node:18",
592599
"node:20",
600+
"python:3.8",
593601
"python:3.9",
594602
"python:3.10",
595603
"python:3.11"

src/core/constants.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,10 @@ export const DEFAULT_VERSION = {
305305
};
306306

307307
export const SUPPORTED_VERSIONS = {
308-
Node: ["18", "20"],
309-
Dotnet: ["8.0"],
310-
DotnetIsolated: ["8.0", "9.0"],
311-
Python: ["3.9", "3.10", "3.11"],
308+
Node: ["12", "14", "16", "18", "20"],
309+
Dotnet: ["3.1", "6.0", "8.0"],
310+
DotnetIsolated: ["6.0", "7.0", "8.0", "9.0"],
311+
Python: ["3.8", "3.9", "3.10", "3.11"],
312312
};
313313

314314
export const DEFAULT_RUNTIME_LANGUAGE = "node";

0 commit comments

Comments
 (0)