Skip to content

Commit 63484b8

Browse files
committed
βœ” Build πŸŽ‰ 20-07-2025 ✨
1 parent 6463cc0 commit 63484b8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€Ždist/main-site/server/main.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

β€Žprojects/main-site/src/api/repository/api-key.service.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class ApiKeyService {
115115
where: [
116116
{
117117
ip_domain: ILike(`%${origin}%`),
118-
api_key: key ? Equal(key) : IsNull()
118+
api_key: (key === '' || key === null) ? IsNull() : Equal(key)
119119
},
120120
{
121121
ip_domain: Equal('*'),

β€Žprojects/main-site/src/api/services/config.service.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class ConfigService {
1212
domainIpBypass = [
1313
environment.domain,
1414
environment.domain_alt,
15-
environment.ip,
15+
...environment.ip.split(';').map(i => i.trim()),
1616
'127.0.0.1',
1717
'::1',
1818
'localhost'

0 commit comments

Comments
Β (0)