master
鲁誉程 9 months ago
parent 5828176158
commit 84abe81d48

@ -60,7 +60,7 @@ const PowerOnAuth: FC<PageProps> = ({ }) => {
// 在指定的目录下安装快捷方式
const installSuccess = async () => {
try {
const response = await fetch('http://127.0.0.1:3000/createShortcut', {
const response = await fetch('http://localhost:3000/createShortcut', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
mode: "cors",

@ -59,7 +59,7 @@ const CodeManage: FC<PageProps> = ({
// 在指定的目录下安装快捷方式
const installSuccess = async () => {
try {
const response = await fetch('http://127.0.0.1:3000/createShortcut', {
const response = await fetch('http://localhost:3000/createShortcut', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
mode: "cors",

@ -69,7 +69,7 @@ const CoreArea: FC<PageProps> = ({
// 在指定的目录下安装快捷方式
const installSuccess = async () => {
try {
const response = await fetch('http://127.0.0.1:3000/createShortcut', {
const response = await fetch('http://localhost:3000/createShortcut', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
mode: "cors",

@ -69,7 +69,7 @@ const DutyArea: FC<PageProps> = ({
// 在指定的目录下安装快捷方式
const installSuccess = async () => {
try {
const response = await fetch('http://127.0.0.1:3000/createShortcut', {
const response = await fetch('http://localhost:3000/createShortcut', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
mode: "cors",

@ -6,7 +6,7 @@ export const DEV = {
// 更新到线上屏蔽上面内容开放下面内容
PROXY_SERVER: 'http://127.0.0.1:8088',
LOCAL_URL: 'http://127.0.0.1:8000',
LOCAL_URL: 'http://127.0.0.1:8080',
FILE_URL: '/home/headless/Desktop',
HARD_CODE: true,
};

Loading…
Cancel
Save