Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-2-capstone-design2
/
2017110269
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
MinsoftK
2020-12-15 18:32:03 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
92d425b358ca189322fbebc1b582dc25d1b93e54
92d425b3
1 parent
ece850a0
Remove Url
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
mypro/client/src/lib/api/Editor.js
mypro/client/src/lib/api/html.js
mypro/client/src/lib/api/login.js
mypro/client/src/lib/api/mathCha.js
mypro/client/src/lib/api/tikz.js
mypro/client/src/lib/api/Editor.js
View file @
92d425b
...
...
@@ -6,13 +6,13 @@ export const getTexToSvg = (data) =>
method
:
'POST'
,
headers
:
{
'content-type'
:
'application/x-www-form-urlencoded'
},
data
:
qs
.
stringify
(
data
),
url
:
'
http://ai.natmal.com:9292
'
,
url
:
''
,
};
return
axios
(
options
);
}
const
hostMath
=
"
http://ai.natmal.com:7070
"
;
const
hostMath
=
""
;
export
const
checkQno
=
(
qno
)
=>
axios
.
get
(
`
${
hostMath
}
/checkQno?qno=
${
qno
}
`
);
...
...
mypro/client/src/lib/api/html.js
View file @
92d425b
import
axios
from
'axios'
;
const
hostMath
=
"
http://ai.natmal.com:7070
"
;
const
hostMath
=
""
;
export
const
checkQno
=
(
qno
)
=>
axios
.
get
(
`
${
hostMath
}
/checkQno?qno=
${
qno
}
`
);
...
...
mypro/client/src/lib/api/login.js
View file @
92d425b
...
...
@@ -6,7 +6,7 @@ export const getLoginInfo = (data) =>
method
:
'POST'
,
headers
:
{
'content-type'
:
'application/x-www-form-urlencoded'
},
data
:
qs
.
stringify
(
data
),
url
:
'
http://ai.natmal.com:7070/checkUser
'
,
url
:
''
,
};
return
axios
(
options
);
...
...
mypro/client/src/lib/api/mathCha.js
View file @
92d425b
import
axios
from
'axios'
;
const
hostMath
=
'
http://ai.natmal.com:7070
'
;
const
hostMath
=
''
;
export
const
checkQno
=
(
qno
)
=>
axios
.
get
(
`
${
hostMath
}
/checkQno?qno=
${
qno
}
`
);
export
const
saveFileAndQno
=
(
formData
)
=>
...
...
mypro/client/src/lib/api/tikz.js
View file @
92d425b
...
...
@@ -6,12 +6,12 @@ export const getTexToSvg = (data) =>
method
:
'POST'
,
headers
:
{
'content-type'
:
'application/x-www-form-urlencoded'
},
data
:
qs
.
stringify
(
data
),
url
:
'
http://ai.natmal.com:9292
'
,
url
:
''
,
};
return
axios
(
options
);
}
const
hostMath
=
"
http://ai.natmal.com:7070
"
;
const
hostMath
=
""
;
export
const
checkQno
=
(
qno
)
=>
axios
.
get
(
`
${
hostMath
}
/checkQno?qno=
${
qno
}
`
);
...
...
Please
register
or
login
to post a comment