We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57aa7bd commit a199129Copy full SHA for a199129
www/routes/pls.tsx
@@ -1,8 +1,10 @@
1
import type { Handlers } from "$fresh/server.ts";
2
3
+import VERSION from "../../version.json" assert { type: "json" };
4
+
5
export const handler: Handlers = {
6
GET() {
- const path = `https://deno.land/x/platformscript/cli/pls.ts`;
7
+ const path = `https://deno.land/x/platformscript@${VERSION}/cli/pls.ts`;
8
return new Response(`Redirecting to ${path}`, {
9
headers: { "Location": path },
10
status: 307,
0 commit comments