Skip to content

Commit 4f7e44e

Browse files
fix: allow insecure http
1 parent 70ad46b commit 4f7e44e

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.cnpja-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.0
1+
1.3.1

installer.dimprj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<name>InstallerSave</name>
44
<version>1.1.1.0</version>
55
<appName>CNPJá! Excel Add-in</appName>
6-
<appVersion>v1.3.0</appVersion>
6+
<appVersion>v1.3.1</appVersion>
77
<appPublisher>CNPJA TECNOLOGIA LTDA</appPublisher>
88
<appWebsite>https://www.cnpja.com</appWebsite>
99
<installDirectoryCheckbox>False</installDirectoryCheckbox>

release/cnpja.exe

-47.3 KB
Binary file not shown.

release/cnpja.xlam

-14.9 KB
Binary file not shown.

source/cnpja/CnpjaService.bas

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Private cnpjaClient As WebAsyncWrapper
1212
Private latestVersion As String
1313

1414
''
15-
' Build the base adapter for requests to CNPJá! API
15+
' Build the base adapter for requests to CNPJ�! API
1616
''
1717
Private Property Get Cnpja() As WebAsyncWrapper
1818
Dim httpClient As New WebClient
@@ -22,6 +22,7 @@ Private Property Get Cnpja() As WebAsyncWrapper
2222
Set httpClient.Authenticator = New CnpjaAuthenticator
2323
httpClient.BaseUrl = "https://api.cnpja.com/"
2424
httpClient.TimeoutMs = 59000
25+
httpClient.Insecure = True
2526
Set cnpjaClient.Client = httpClient
2627
End If
2728

@@ -135,7 +136,7 @@ End Function
135136
' [Sync] Read current tool version
136137
''
137138
Public Function getCurrentVersion() As String
138-
getCurrentVersion = "1.3.0"
139+
getCurrentVersion = "1.3.1"
139140
End Function
140141

141142
''

0 commit comments

Comments
 (0)