Skip to content
Snippets Groups Projects
Commit 839a2c33 authored by josborg's avatar josborg
Browse files

Docker un puerto 2

parent 6d5ea9bf
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ import { Solucion } from './app.soluciones-model';
})
export class ClienteApiOrdersService {
private static readonly BASE_URI = 'http://'+location.hostname+'/api/encuestas/';
private static readonly BASE_URI = 'http://'+location.hostname+':'+location.port+'/api/encuestas/';
constructor(private http: HttpClient) { }
......
......@@ -14,14 +14,14 @@ export class ClienteApiOAutchService {
private static readonly client_id = "920088907733930054";
private static readonly client_secret = "2sKjxaLFQwv5DIxXFVt2pNG7DTGONFWm";
private static readonly scope = "identify";
public static readonly redirect_uri = "http://"+location.hostname+"/client/auth";
public static readonly redirect_uri = "http://"+location.hostname+':'+location.port+"/client/auth";
public static readonly discord_login_url = "https://discord.com/oauth2/authorize?redirect_uri=" + ClienteApiOAutchService.redirect_uri + "&response_type=token&client_id=" + ClienteApiOAutchService.client_id + "&scope=" + ClienteApiOAutchService.scope;
public static readonly discord_tocken_url = "https://discord.com/api/oauth2/token";
public static readonly discord_api_url = "https://discordapp.com/api/v8";
public static readonly discord_add_bot_url = "https://discord.com/api/oauth2/authorize?client_id="+ClienteApiOAutchService.client_id+"&scope=bot&permissions=8"
public static readonly auth_url = "http://"+location.hostname+"/api/auth";
public static readonly auth_url = "http://"+location.hostname+':'+location.port+"/api/auth";
postId:any;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment