登录注册:
https://runkit.com/home
创建,部署
const express = require('express'); const { createProxyMiddleware } = require('http-proxy-middleware'); const app = express(); app.use('/', createProxyMiddleware({ target: 'https://www.google.com/', changeOrigin: true })); app.listen(3000);
自己用一用还是挺不错的,就不用每天到处找镜像了。油管之类的网站也是一样的搭建方法。
nice share