mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 18:06:15 -04:00
修改端口9001为9002
This commit is contained in:
parent
8497f652bc
commit
a5cf527e8d
47 changed files with 109 additions and 109 deletions
|
@ -8,7 +8,7 @@ import {LoadingScreen} from "./utils/LoadingScreen.tsx";
|
|||
import {Trans, useTranslation} from "react-i18next";
|
||||
import {Cable, Construction, Crown, NotepadText, Wrench, PhoneCall} from "lucide-react";
|
||||
|
||||
const WS_URL = import.meta.env.DEV? 'http://localhost:9001' : ''
|
||||
const WS_URL = import.meta.env.DEV? 'http://localhost:9002' : ''
|
||||
export const App = ()=> {
|
||||
const setSettings = useStore(state => state.setSettings);
|
||||
const {t} = useTranslation()
|
||||
|
|
|
@ -21,16 +21,16 @@ export default defineConfig({
|
|||
server:{
|
||||
proxy: {
|
||||
'/socket.io/*': {
|
||||
target: 'http://localhost:9001',
|
||||
target: 'http://localhost:9002',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '')
|
||||
},
|
||||
'/admin-auth/': {
|
||||
target: 'http://localhost:9001',
|
||||
target: 'http://localhost:9002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/stats': {
|
||||
target: 'http://localhost:9001',
|
||||
target: 'http://localhost:9002',
|
||||
changeOrigin: true,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue