misc
This commit is contained in:
parent
27ee7cad58
commit
ebc8b3284e
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ export default {
|
||||||
method: ["*"],
|
method: ["*"],
|
||||||
domains: ["*"],
|
domains: ["*"],
|
||||||
handler: async (r: pogo.Request, h: pogo.Toolkit) => {
|
handler: async (r: pogo.Request, h: pogo.Toolkit) => {
|
||||||
console.log(r.searchParams)
|
console.log("searchParams", r.searchParams)
|
||||||
if (r.searchParams.get("token") === Deno.env.get("TOKEN")) {
|
if ((r.searchParams.get("token")) === Deno.env.get("TOKEN")) {
|
||||||
await Deno.run({
|
await Deno.run({
|
||||||
cmd: ["ls"]
|
cmd: ["ls"]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue