fix query
This commit is contained in:
parent
c71f03dcee
commit
a3c727319b
|
|
@ -15,8 +15,8 @@ app.use(transparency)
|
||||||
app.use(video)
|
app.use(video)
|
||||||
app.use(websocket)
|
app.use(websocket)
|
||||||
app.use(html)
|
app.use(html)
|
||||||
app.onRequest(({ set, path }: any) => {
|
app.onRequest(({ set, url }: any) => {
|
||||||
set.headers['Onion-Location'] = 'http://tubey5btlzxkcjpxpj2c7irrbhvgu3noouobndafuhbw4i5ndvn4v7qd.onion' + path
|
set.headers['Onion-Location'] = 'http://tubey5btlzxkcjpxpj2c7irrbhvgu3noouobndafuhbw4i5ndvn4v7qd.onion/' + url.split('/').at(-1)
|
||||||
})
|
})
|
||||||
|
|
||||||
process.on('uncaughtException', err => {
|
process.on('uncaughtException', err => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue