Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_app_page
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_app_page
Commits
3d1b2841
Commit
3d1b2841
authored
Nov 04, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cbccda07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.ts
src/service/index.ts
+2
-2
vite.config.ts
vite.config.ts
+1
-1
No files found.
src/service/index.ts
View file @
3d1b2841
export
function
getLatestedIosVersion
()
{
export
function
getLatestedIosVersion
()
{
return
fetch
(
'/proxyApi/version/latest?os=ios'
,
{
return
fetch
(
'/proxyApi/
api/v1/
version/latest?os=ios'
,
{
method
:
'get'
,
method
:
'get'
,
}).
then
((
ret
)
=>
ret
.
json
())
}).
then
((
ret
)
=>
ret
.
json
())
}
}
export
function
getLatestedAndroidVersion
()
{
export
function
getLatestedAndroidVersion
()
{
return
fetch
(
'/proxyApi/version/latest?os=android'
,
{
return
fetch
(
'/proxyApi/
api/v1/
version/latest?os=android'
,
{
method
:
'get'
,
method
:
'get'
,
}).
then
((
ret
)
=>
ret
.
json
())
}).
then
((
ret
)
=>
ret
.
json
())
}
}
vite.config.ts
View file @
3d1b2841
...
@@ -11,7 +11,7 @@ export default defineConfig({
...
@@ -11,7 +11,7 @@ export default defineConfig({
server
:
{
server
:
{
proxy
:
{
proxy
:
{
'/proxyApi'
:
{
'/proxyApi'
:
{
target
:
'http://172.16.102.150:8091/
api/v1/
'
,
target
:
'http://172.16.102.150:8091/'
,
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
proxyApi/
,
''
),
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
proxyApi/
,
''
),
},
},
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment