-
Notifications
You must be signed in to change notification settings - Fork 15
STRIPES-861-int - Integration of Module Federation feature. #392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
752757c
7259755
371aee2
e5ddab3
b618318
f0b5459
1f51cc9
8c763f1
a2a227e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ const path = require('path'); | |
| const fs = require('fs'); | ||
| const http = require('http'); | ||
| const express = require('express'); | ||
| const cors = require('cors'); | ||
| const logger = require('morgan'); | ||
| const debug = require('debug'); | ||
|
|
||
|
|
@@ -48,6 +49,8 @@ function onListening(server) { | |
|
|
||
| function start(dir, options) { | ||
| const app = express(); | ||
| app.use(express.json()); | ||
| app.use(cors()); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wide-open |
||
| app.use(express.static(dir, {})); | ||
| app.use(logger('tiny')); | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typos: "At THE platform...", "a list OF..."
"At the platform level": it also spins up a local registry, right? Should we say that?