aboutsummaryrefslogtreecommitdiff
path: root/bridge/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/index.js')
-rw-r--r--bridge/index.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/bridge/index.js b/bridge/index.js
deleted file mode 100644
index 727bd395..00000000
--- a/bridge/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import express from 'express'
-import { raw } from 'body-parser'
-import cors from 'cors'
-import debug from 'debug'
-const log = debug('http')
-
-import oembed from '../vnext/server/middleware/oembed'
-
-const app = express()
-app.use(raw())
-app.use(cors())
-const router = express.Router()
-
-router.get('/oembed', oembed)
-
-app.use(router)
-
-const PORT = 8081
-// start the app
-app.listen(PORT, (error) => {
- if (error) {
- return console.log('something bad happened', error)
- }
- log('listening on ' + PORT + '...')
-})