From e2666fb38717f806b30de64e2f307df27b928e1a Mon Sep 17 00:00:00 2001 From: Forrest Collman Date: Fri, 22 Nov 2024 15:07:36 -0800 Subject: [PATCH] adding column names (#175) --- materializationengine/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/materializationengine/app.py b/materializationengine/app.py index 42b7a985..319429ef 100644 --- a/materializationengine/app.py +++ b/materializationengine/app.py @@ -47,7 +47,7 @@ def create_app(config_name: str = None): instance_relative_config=True, template_folder="../templates", ) - CORS(app, expose_headers="WWW-Authenticate") + CORS(app, expose_headers=["WWW-Authenticate", "column_names"]) logging.basicConfig(level=logging.INFO) app.json_encoder = AEEncoder app.config["RESTX_JSON"] = {"cls": AEEncoder}