Experimental port to Firebase hosting
This commit is contained in:
13
modules/functions/servePublicKey.js
Normal file
13
modules/functions/servePublicKey.js
Normal file
@ -0,0 +1,13 @@
|
||||
import express from 'express';
|
||||
import cors from 'cors';
|
||||
|
||||
import showPublicKey from '../actions/showPublicKey';
|
||||
|
||||
const app = express();
|
||||
|
||||
app.disable('x-powered-by');
|
||||
|
||||
app.use(cors());
|
||||
app.use(showPublicKey);
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user