From 1ecf70773ff82ca0071d21cf6c1d52cf0bd6dfb6 Mon Sep 17 00:00:00 2001 From: ecarjat Date: Fri, 6 Jun 2025 09:21:57 +0200 Subject: [PATCH] Update .env.example --- .env.example | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.env.example b/.env.example index 6e50e43..20f4201 100644 --- a/.env.example +++ b/.env.example @@ -72,3 +72,11 @@ SPOOLMAN_PORT=7912 # Default if not set: 1000 #PUID=1000 #PGID=1000 + +# Allows CORS ORIGIN. +# Use the https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin semantics +# separated by commas +# for example to allow request from source1.domain.com on port p1 and source2.domain.com on port p2 +# SPOOLMAN_CORS_ORIGIN=source1.domain.com:p1, source2.domain.com:p2 +# to allow from any +# SPOOLMAN_CORS_ORIGIN=*