diff --git a/swa-db-connections/staticwebapp.database.config.json b/swa-db-connections/staticwebapp.database.config.json deleted file mode 100644 index bb7811b..0000000 --- a/swa-db-connections/staticwebapp.database.config.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://dataapibuilder.azureedge.net/schemas/latest/dab.draft.schema.json", - "data-source": { - "database-type": "mssql", - "options": { - "set-session-context": false - }, - "connection-string": "@env('DATABASE_CONNECTION_STRING')" - }, - "runtime": { - "rest": { - "enabled": true, - "path": "/rest" - }, - "graphql": { - "allow-introspection": true, - "enabled": true, - "path": "/graphql" - }, - "host": { - "mode": "production", - "cors": { - "origins": ["http://localhost:4280"], - "allow-credentials": false - }, - "authentication": { - "provider": "StaticWebApps" - } - } - }, - "entities": { - "Person": { - "source": "dbo.MyTestPersonTable", - "permissions": [ - { - "actions": ["*"], - "role": "anonymous" - } - ] - } - } -}