forked from Mirrors/elk
fix: missed from commit 🤦♂️
This commit is contained in:
parent
494804fc1c
commit
76715d7cec
2 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
import { stringifyQuery } from 'ufo'
|
||||
import { HOST_DOMAIN, HOST_URL, getApp } from '~/server/shared'
|
||||
import { HOST_URL, getApp } from '~/server/shared'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const server = event.context.params.server
|
||||
const app = await getApp(HOST_DOMAIN, server)
|
||||
const app = await getApp(server)
|
||||
|
||||
if (!app) {
|
||||
event.node.res.statusCode = 400
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { stringifyQuery } from 'vue-router'
|
||||
import { HOST_DOMAIN, HOST_URL, getApp } from '~/server/shared'
|
||||
import { HOST_URL, getApp } from '~/server/shared'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const server = event.context.params.server
|
||||
const app = await getApp(HOST_DOMAIN, server)
|
||||
const app = await getApp(server)
|
||||
|
||||
if (!app) {
|
||||
event.node.res.statusCode = 400
|
||||
|
|
Loading…
Reference in a new issue