mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-20 19:19:16 +02:00
further specify the regex
This commit is contained in:
parent
21620bc7af
commit
c568a141e6
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ const path = require("path");
|
||||||
let gameResolver = new GameResolver();
|
let gameResolver = new GameResolver();
|
||||||
let gameList = null;
|
let gameList = null;
|
||||||
|
|
||||||
const LANGUAGE_REGEX = /^[a-zA-Z0-9-_]+$/;
|
const LANGUAGE_REGEX = /^[a-z]{2,3}(-[A-Z]{2,})?$/;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a game list via GameDig
|
* Get a game list via GameDig
|
||||||
|
|
Loading…
Add table
Reference in a new issue