fix server adress issue

This commit is contained in:
Halit Aksoy 2022-04-11 22:36:46 +03:00
parent d3f79737e0
commit d4cf990867

View File

@ -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' },