From 2afa6f6ecbd51b0e4625a1a8dfe4b8c007d01362 Mon Sep 17 00:00:00 2001 From: Daniel Lamando Date: Sat, 1 May 2021 16:14:05 +0200 Subject: [PATCH] v0.4.0 --- generation/deploy/generations.ts | 2 +- generation/deploy/mod.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/generation/deploy/generations.ts b/generation/deploy/generations.ts index c35229b1..09f20704 100644 --- a/generation/deploy/generations.ts +++ b/generation/deploy/generations.ts @@ -34,7 +34,7 @@ export class ModuleGenerator { export const Generations = new Map([ ['v0.1', new ModuleGenerator( - 'https://deno.land/x/aws_api@v0.3.1', + 'https://deno.land/x/aws_api@v0.4.0', 'v2.895.0', (config, opts) => new LatestCodeGen(config, opts), )], diff --git a/generation/deploy/mod.ts b/generation/deploy/mod.ts index 04cd52df..3ced9e2d 100644 --- a/generation/deploy/mod.ts +++ b/generation/deploy/mod.ts @@ -6,7 +6,7 @@ import { Generations, LatestGeneration, ModuleGenerator } from "./generations.ts addEventListener("fetch", async (event) => { const request = (event as any).request as Request; const response = await handleRequest(request).catch(renderError); - response.headers.set("server", "aws_api-generation/v0.3.1"); + response.headers.set("server", "aws_api-generation/v0.4.0"); (event as any).respondWith(response); }); @@ -100,7 +100,6 @@ ${escape(apiText)} `, { status: 200, headers: { - "server": "aws_api-generation/v0.3.1", "content-type": "text/html; charset=utf-8", }}); } @@ -108,7 +107,6 @@ ${escape(apiText)} return new Response(apiText, { status: 200, headers: { - "server": "aws_api-generation/v0.3.1", "content-type": wantsHtml ? "text/plain; charset=utf-8" : "application/x-typescript", }}); }