File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,12 @@ export async function _getRedirectUrl(
129
129
130
130
function getHandlerBase ( { config } : AuthInternal ) : string {
131
131
if ( ! config . emulator ) {
132
- return `https://${ config . authDomain } /${ WIDGET_PATH } ` ;
132
+ const path = `https://${ config . authDomain } /${ WIDGET_PATH } ` ;
133
+ if ( typeof process !== 'undefined' && process . env . FIREBASE_USE_HANDLER_EXT ) {
134
+ // Static servers require extensions to infer Content-Type
135
+ return `${ path } .html` ;
136
+ }
137
+ return path ;
133
138
}
134
139
135
140
return _emulatorUrl ( config , EMULATOR_WIDGET_PATH ) ;
Original file line number Diff line number Diff line change @@ -21,8 +21,11 @@ import {
21
21
connectDataConnectEmulator ,
22
22
ConnectorConfig ,
23
23
DataConnect ,
24
- getDataConnect
24
+ executeMutation ,
25
+ getDataConnect ,
26
+ mutationRef
25
27
} from '../src' ;
28
+ import { removePost , removePostRef } from './dataconnect/connector/gen/web' ;
26
29
27
30
export const EMULATOR_PORT = process . env . DC_EMULATOR_PORT ;
28
31
const USE_EMULATOR = ! ! EMULATOR_PORT ;
You can’t perform that action at this time.
0 commit comments