Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TFG
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josborg
TFG
Commits
839a2c33
Commit
839a2c33
authored
Mar 28, 2022
by
josborg
Browse files
Options
Downloads
Patches
Plain Diff
Docker un puerto 2
parent
6d5ea9bf
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/src/app/shared/api-encuestas/cliente-api-encuestas.service.ts
+1
-1
1 addition, 1 deletion
...app/shared/api-encuestas/cliente-api-encuestas.service.ts
client/src/app/shared/api-oauth/cliente-api-auth.service.ts
+2
-2
2 additions, 2 deletions
client/src/app/shared/api-oauth/cliente-api-auth.service.ts
with
3 additions
and
3 deletions
client/src/app/shared/api-encuestas/cliente-api-encuestas.service.ts
+
1
−
1
View file @
839a2c33
...
...
@@ -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
)
{
}
...
...
This diff is collapsed.
Click to expand it.
client/src/app/shared/api-oauth/cliente-api-auth.service.ts
+
2
−
2
View file @
839a2c33
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment