mirror of https://github.com/knative/docs.git
fix: revert hello-deno std lib to pre 1.0, see denoland/deno#5267 (#2467)
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
This commit is contained in:
parent
f5ac1101b2
commit
39531287d1
|
@ -29,7 +29,7 @@ cd knative-docs/docs/serving/samples/hello-world/helloworld-deno
|
|||
1. Create a new file named `deps.ts` and paste the following script:
|
||||
|
||||
```ts
|
||||
export { serve } from "https://deno.land/std@v1.0.0-rc2/http/server.ts";
|
||||
export { serve } from "https://deno.land/std@std@0.50.0/http/server.ts";
|
||||
```
|
||||
|
||||
1. Create a new file named `main.ts` and paste the following script:
|
||||
|
|
|
@ -1 +1 @@
|
|||
export { serve } from "https://deno.land/std@v1.0.0-rc2/http/server.ts";
|
||||
export { serve } from "https://deno.land/std@0.50.0/http/server.ts";
|
||||
|
|
Loading…
Reference in New Issue