Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
V
vuejs-skyFaceAnalyst
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ProjetDemo
vuejs-skyFaceAnalyst
Commits
95833b6d
Commit
95833b6d
authored
Dec 22, 2023
by
dtati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second commit
parent
5cfe6b81
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/config/helperConfig.js
src/config/helperConfig.js
+1
-4
src/store/index.js
src/store/index.js
+2
-2
No files found.
src/config/helperConfig.js
View file @
95833b6d
export
default
{
// information sent after creation of applicationId by mail
API_url
:
"
***
"
,
OCR_url
:
"
***
"
,
OCR_url_status
:
"
***
"
,
skyid_fa_sdk_params_url
:
"
***
"
,
LIVENESS_url
:
"
***
"
,
FACE_MATCHING_url
:
"
***
"
,
SKYID_FA_SDK_PARAMS_url
:
"
***
"
,
Recover_Face_Matching_Result_URL
:
"
***
"
,
skyid_fa_sdk_user
:
"
***
"
,
...
...
src/store/index.js
View file @
95833b6d
...
...
@@ -37,7 +37,7 @@ export default createStore({
formData
.
append
(
"
username
"
,
email
);
formData
.
append
(
"
password
"
,
password
);
return
new
Promise
((
resolve
,
reject
)
=>
{
axios
.
post
(
Helper
.
API_url
,
formData
,
{
axios
.
post
(
Helper
.
skyid_fa_sdk_params_url
+
"
login
"
,
formData
,
{
headers
:
{
'
Content-Type
'
:
'
multipart/form-data
'
,
}
...
...
@@ -63,7 +63,7 @@ export default createStore({
formData
.
append
(
"
token
"
,
Helper
.
skyid_fa_sdk_token
);
formData
.
append
(
"
application_id
"
,
Helper
.
skyid_fa_sdk_appId
);
return
new
Promise
((
resolve
,
reject
)
=>
{
axios
.
post
(
Helper
.
SKYID_FA_SDK_PARAMS_url
,
formData
,
{
axios
.
post
(
Helper
.
skyid_fa_sdk_params_url
+
"
get_parameters_web_sdk
"
,
formData
,
{
headers
:
{
Authorization
:
`Bearer
${
bearToken
}
`
,
'
Content-Type
'
:
'
multipart/form-data
'
,
...
...
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