We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03dd64d commit 85c2b92Copy full SHA for 85c2b92
firebase_javascript_v1/index.js
@@ -27,7 +27,7 @@ credentials = {
27
const client = new SessionsClient({apiEndpoint: 'us-central1-dialogflow.googleapis.com'});
28
29
// onCall(async (data, context)
30
-exports.getTrivia = functions.region('uscentral-1').runWith({memory: '128MB'}).https.onRequest(async (req, res) => {
+exports.getTrivia = functions.region('us-central1').runWith({memory: '128MB'}).https.onRequest(async (req, res) => {
31
// CORS handling
32
res.set('Access-Control-Allow-Origin', "*");
33
res.set('Access-Control-Allow-Methods', 'GET, POST');
0 commit comments