Skip to content

Conversation

qxo
Copy link
Contributor

@qxo qxo commented Sep 8, 2025

ie:
'''
LOCALAI_IP_ALLOWLIST=192.168.1.0/24,10.0.0.1,127.0.0.1 '''

Description

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

ie:
'''
LOCALAI_IP_ALLOWLIST=192.168.1.0/24,10.0.0.1,127.0.0.1
'''
Copy link

netlify bot commented Sep 8, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit a8c1ace
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/68befd9fe6926d00085d03ae
😎 Deploy Preview https://deploy-preview-6221--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@@ -0,0 +1,100 @@
package utils
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks better placed as ipallowlist.go file inside core/http rather than having it's own utils package.

"testing"
)

func TestIPAllowList(t *testing.T) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better be consistent with all the other tests in this repository and use ginkgo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants