Skip to content

Commit f1e7df3

Browse files
committed
fix(config): normalize nfse environment contracts
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 parent e5b4212 commit f1e7df3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Config/EnvironmentConfig.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
* When no custom base URL is supplied the appropriate official endpoint is
1414
* selected automatically from the sandboxMode flag:
1515
*
16-
* - Production: https://nfse.fazenda.gov.br/NFS-e/api/v1
17-
* - Sandbox: https://hml.nfse.fazenda.gov.br/NFS-e/api/v1
16+
* - Production: https://sefin.nfse.gov.br/SefinNacional
17+
* - Sandbox: https://sefin.producaorestrita.nfse.gov.br/SefinNacional
1818
*/
1919
final readonly class EnvironmentConfig
2020
{
21-
private const BASE_URL_PROD = 'https://nfse.fazenda.gov.br/NFS-e/api/v1';
22-
private const BASE_URL_SANDBOX = 'https://hml.nfse.fazenda.gov.br/NFS-e/api/v1';
21+
private const BASE_URL_PROD = 'https://sefin.nfse.gov.br/SefinNacional';
22+
private const BASE_URL_SANDBOX = 'https://sefin.producaorestrita.nfse.gov.br/SefinNacional';
2323

2424
public string $baseUrl;
2525

0 commit comments

Comments
 (0)