Commit 0ce197fb authored by Yuan Zhixiang's avatar Yuan Zhixiang
Browse files

更改外置url的位置

parent 4f36af68
<script setup>
import { computed, provide, ref } from 'vue';
import axios from 'axios'
import { base_url } from '@/main'
import { base_url } from '@/url.js'
import { oj_base_url } from '@/url.js'
import CodeEditor from './components/CodeEditor.vue';
import StdinEditor from './components/StdinEditor.vue';
import ControlPanel from './components/ControlPanel.vue';
......
import { createApp } from 'vue'
import App from './App.vue'
createApp(App).mount('#app')
export const base_url = 'http://122.207.108.6:10500' /* 修改此项为后端地址 */
\ No newline at end of file
createApp(App).mount('#app')
\ No newline at end of file
export const base_url = 'http://122.207.108.6:10500' /* 修改此项为后端地址 */
export const oj_base_url = 'http://122.207.108.2/judge/api/solution/querySolution' /* 修改此项为OJ API地址 */
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment