fix server adress issue
This commit is contained in:
parent
d3f79737e0
commit
d4cf990867
@ -1,4 +1,4 @@
|
||||
import { serverAdress } from "../service/http_service"
|
||||
import { server } from "../service/http_service"
|
||||
|
||||
const key = "user_key"
|
||||
|
||||
@ -28,7 +28,7 @@ export class UserKeyStoreImpl implements UserKeyStore {
|
||||
|
||||
export class UserKeyStoreLocalHttp implements UserKeyStore {
|
||||
public getUserKey(callback: (userKey: string) => any): any {
|
||||
const url = serverAdress + "/register/"
|
||||
const url = server.serverAdress + "/register/"
|
||||
const requestOptions = {
|
||||
method: 'GET',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user