.
This commit is contained in:
parent
28614966a4
commit
e0a492f7d2
5 changed files with 10 additions and 4 deletions
|
|
@ -24,7 +24,10 @@ __export(site_autenticacao_exports, {
|
|||
tx_redirecionar: () => tx_redirecionar
|
||||
});
|
||||
module.exports = __toCommonJS(site_autenticacao_exports);
|
||||
const site_autenticacao = (base_url_autenticacao) => `${String(base_url_autenticacao).replace(/\/$/, "")}/autenticacao`;
|
||||
const site_autenticacao = (base_url_autenticacao) => `${(() => {
|
||||
const x = new URL(base_url_autenticacao);
|
||||
return x.origin;
|
||||
})()}/autenticacao`;
|
||||
const tx_redirecionar = "redirecionar";
|
||||
const tx__token__ = "__token__";
|
||||
const site_autenticacao_login = (base_url_autenticacao, redirecionar) => {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "p-autenticacao-drive",
|
||||
"version": "1.44.0",
|
||||
"version": "1.45.0",
|
||||
"description": "",
|
||||
"main": "./src/index.ts",
|
||||
"exports": {
|
||||
|
|
|
|||
BIN
pacote.tgz
BIN
pacote.tgz
Binary file not shown.
|
|
@ -4,7 +4,10 @@
|
|||
* @returns http://bolinhas.com/autenticacao
|
||||
*/
|
||||
export const site_autenticacao = (base_url_autenticacao: string) =>
|
||||
`${String(base_url_autenticacao).replace(/\/$/, "")}/autenticacao`
|
||||
`${(() => {
|
||||
const x = new URL(base_url_autenticacao)
|
||||
return x.origin
|
||||
})()}/autenticacao`
|
||||
export const tx_redirecionar = "redirecionar"
|
||||
export const tx__token__ = "__token__"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue