From 8cfbec9a69444c86c514e7381000ebe80af3393a Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Dec 16 2019 12:01:37 +0000 Subject: fix typo --- diff --git a/mdapi/server.py b/mdapi/server.py index 9486a9c..4ec457f 100644 --- a/mdapi/server.py +++ b/mdapi/server.py @@ -26,7 +26,7 @@ from mdapi.views import ( async def add_cors_headers(request, handler): resp = await handler(request) resp.headers['Access-Control-Allow-Origin'] = '*' - resp.headers['Access-Control-Allow-Methods'] = 'GET1' + resp.headers['Access-Control-Allow-Methods'] = 'GET' resp.headers['Access-Control-Allow-Headers'] = 'Content-Type' return resp