fix: bugs

This commit is contained in:
Kilu 2024-06-29 23:43:57 +08:00
parent 4ae9aac50e
commit 4e43ee1904

View File

@ -68,6 +68,7 @@ const createServer = async (req) => {
] = reqUrl.pathname.slice(1).split('/'); ] = reqUrl.pathname.slice(1).split('/');
logger.info(`Namespace: ${namespace}, Publish Name: ${publishName}`); logger.info(`Namespace: ${namespace}, Publish Name: ${publishName}`);
if (namespace === '' || !publishName) { if (namespace === '' || !publishName) {
timer(); timer();
return new Response(null, { return new Response(null, {