Experimental port to Firebase hosting
This commit is contained in:
15
modules/functions/index.js
Normal file
15
modules/functions/index.js
Normal file
@ -0,0 +1,15 @@
|
||||
import { https } from 'firebase-functions';
|
||||
|
||||
// import serveAuth from './serveAuth';
|
||||
import serveAutoIndexPage from './serveAutoIndexPage';
|
||||
import serveNpmPackageFile from './serveNpmPackageFile';
|
||||
import servePublicKey from './servePublicKey';
|
||||
import serveStats from './serveStats';
|
||||
|
||||
export default {
|
||||
// serveAuth: https.onRequest(serveAuth),
|
||||
serveAutoIndexPage: https.onRequest(serveAutoIndexPage),
|
||||
serveNpmPackageFile: https.onRequest(serveNpmPackageFile),
|
||||
servePublicKey: https.onRequest(servePublicKey),
|
||||
serveStats: https.onRequest(serveStats)
|
||||
};
|
Reference in New Issue
Block a user