3 Commits

Author SHA1 Message Date
6795697dea 🐛 (settings.py): Remove conditional check for DEBUG to always allow CORS from all origins for better cross-origin resource sharing
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 49s
Build / Code quality (push) Successful in 9m49s
2025-02-05 11:08:40 -03:00
0397465ec3 🔧 (on_release.yml): Remove unnecessary echo statements from deployment script for cleaner logs and better security
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 37s
Build / Code quality (push) Successful in 10m10s
2025-02-05 10:49:34 -03:00
c7ca9f9442 🔧 (.gitea/workflows/on_release.yml): Add echo command to print TOKEN for debugging purposes
Some checks failed
Build / Code quality (push) Has been cancelled
Creates a docker image for production / Build the docker image (push) Successful in 39s
2025-02-05 10:44:57 -03:00
2 changed files with 1 additions and 3 deletions

View File

@@ -34,7 +34,6 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
- name: Deploy to production server
run: |
echo "${{ github.ref_name }} - ${{ github.run_number }}"
TOKEN=$(curl --silent --location 'https://auth.makecodes.dev/auth' \
--header 'Content-Type: application/json' \
--data '{

View File

@@ -131,7 +131,6 @@ REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',),
}
if DEBUG is True:
CORS_ALLOW_ALL_ORIGINS = True