chore: improve

This commit is contained in:
StarpTech 2023-06-19 09:35:40 +02:00
parent 60d40b196c
commit 7a9da2e133

View File

@ -3,7 +3,6 @@ import {
cors,
EnvironmentVariable,
introspect,
templates,
} from "@wundergraph/sdk";
import server from "./wundergraph.server";
import operations from "./wundergraph.operations";
@ -18,13 +17,6 @@ configureWunderGraphApplication({
apis: [spacex],
server,
operations,
codeGenerators: [
{
templates: [
...templates.typescript.all,
],
},
],
cors: {
...cors.allowAll,
allowedOrigins:
@ -37,8 +29,5 @@ configureWunderGraphApplication({
"http://localhost:3000",
new EnvironmentVariable("WG_ALLOWED_ORIGIN"),
],
},
dotGraphQLConfig: {
hasDotWunderGraphDirectory: false,
},
}
});