Add support for SVR.JS running on Deno
This commit is contained in:
parent
73bd63305b
commit
da7beddc61
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ if (href == "/") {
|
|||
var isValid = true;
|
||||
if (!parsedJsonData.version || !parsedJsonData.runtime || !parsedJsonData.runtimeVersion || !parsedJsonData.mods || typeof parsedJsonData.version != "string" || typeof parsedJsonData.runtime != "string" || typeof parsedJsonData.runtimeVersion != "string" || !Array.isArray(parsedJsonData.mods)) {
|
||||
isValid = false;
|
||||
} else if (["Node.js", "Bun"].indexOf(parsedJsonData.runtime) == -1) {
|
||||
} else if (["Node.js", "Bun", "Deno"].indexOf(parsedJsonData.runtime) == -1) {
|
||||
isValid = false;
|
||||
} else {
|
||||
parsedJsonData.mods.every(function (element) {
|
||||
|
|
Loading…
Reference in a new issue