fix: put back orig string
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
d5dba53acb
commit
38f667e7ee
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ export const serve_data = {
|
||||||
const app = express().disable('x-powered-by');
|
const app = express().disable('x-powered-by');
|
||||||
|
|
||||||
app.get(
|
app.get(
|
||||||
'/:id/(:tileSize(256|512)/)?:z(\\d+)/:x(\\d+)/:y(\\d+).:format([\\w.]+)',
|
'/:id/:z(\\d+)/:x(\\d+)/:y(\\d+).:format([\\w.]+)',
|
||||||
async (req, res, next) => {
|
async (req, res, next) => {
|
||||||
const item = repo[req.params.id];
|
const item = repo[req.params.id];
|
||||||
if (!item) {
|
if (!item) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue