File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -125,25 +125,6 @@ if (process.env.BASIC_USERNAME && process.env.BASIC_PASSWORD) {
125125 ) ;
126126}
127127
128- // routing to serve files in .well-known with specific content type
129- // temporary addition for the apple pay integration with donorbox
130- app . use (
131- '/.well-known/apple-developer-merchantid-domain-association' ,
132- ( req , res , next ) => {
133- const rootPath = path . resolve ( __dirname , '../public/.well-known' ) ;
134- const fileName = 'apple-developer-merchantid-domain-association' ;
135-
136- res . setHeader ( 'Content-Type' , 'text/plain' ) ;
137-
138- res . sendFile ( fileName , { root : rootPath } , ( err ) => {
139- if ( err ) {
140- console . error ( 'Error serving file:' , err ) ;
141- next ( err ) ;
142- }
143- } ) ;
144- }
145- ) ;
146-
147128// Body parser, cookie parser, sessions, serve public assets
148129app . use (
149130 '/locales' ,
You can’t perform that action at this time.
0 commit comments