This page (revision-21) was last changed on 07-Feb-2024 18:37 by Dieter Käppel

This page was created on 22-Sep-2022 10:37 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
21 07-Feb-2024 18:37 8 KB Dieter Käppel to previous

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 231 removed one line
import {createProxyMiddleware} from "http-proxy-middleware";
At line 236 changed 3 lines
const host = "localhost", port = 8090;
const server = express();
const host = "localhost";
const port = 8090;
const contextPath = "/";
At line 240 changed 6 lines
server.use("/", middleware(compiler));
server.use(createProxyMiddleware("/service/**", {
target: "http://localhost:8080"
}));
const server = express();
server.use(contextPath, middleware(compiler));
server.use("/hello/**", (req, res) => {
res.send("Hello Service!");
});
At line 247 changed one line
console.log("Server listening at http://" + host + ":" + port + "/");
console.log("Server listening at http://" + host + ":" + port + contextPath);
At line 250 removed 9 lines
!!!Update Packages
Mit dem Tool npm-check-updates können NodeJS bzw. npm Packete upgedated werden:
{{{
npm install -g npm-check-updates
ncu --upgrade
npm install
}}}