A few unnecessary fields in APIClone settings #1

Closed
opened 2026-03-01 09:35:24 -05:00 by Heathercat123 · 1 comment

This part here is no longer required as APIClone now handles it after the local_settings import:

allowed_origins = []
for i in ALLOWED_HOSTS:
    allowed_origins.append('http://' + i)
    allowed_origins.append('http://' + i + ':80')
    allowed_origins.append('https://' + i)
    allowed_origins.append('https://' + i + ':443')

CORS_ALLOWED_ORIGINS = CSRF_TRUSTED_ORIGINS = allowed_origins
This part here is no longer required as APIClone now handles it after the local_settings import: ``` allowed_origins = [] for i in ALLOWED_HOSTS: allowed_origins.append('http://' + i) allowed_origins.append('http://' + i + ':80') allowed_origins.append('https://' + i) allowed_origins.append('https://' + i + ':443') CORS_ALLOWED_ORIGINS = CSRF_TRUSTED_ORIGINS = allowed_origins ```
Owner

Should be fixed in 28d8c956d7

Should be fixed in 28d8c956d75e4d9e89d69d99550f7691d9d2ec0d
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
chipmunk.land/misc#1
No description provided.