Skip to content

Commit 187d8b6

Browse files
committed
Another attempt at fixing the scribe
1 parent 9a8dee2 commit 187d8b6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ RUN apt-get update && apt-get install cron -y \
7474
# Install composer packages & cache this layer
7575
RUN composer install --no-interaction --no-dev --optimize-autoloader --apcu-autoloader --no-progress --ignore-platform-reqs --ignore-platform-req=php
7676

77-
RUN php artisan scribe:generate
77+
RUN php artisan scribe:generate #TODO: find a better way to generate these so we can include auth ones too
7878

7979
RUN php artisan route:cache \
8080
&& php artisan optimize \

backend/config/scribe.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
'threads/*',
4949
'forums/*',
5050
'games/*',
51-
'users/*',
51+
// 'users/*', causes issues "No application encryption key has been specified."
5252
'roles/*',
5353
'game-roles/*',
5454
'instructs-templates/*',
@@ -73,6 +73,9 @@
7373
// Exclude these routes even if they matched the rules above.
7474
'exclude' => [
7575
// 'GET /health', 'admin.*'
76+
'GET games/{game}/users/{user}',
77+
'GET games/{game}/users/{user}/*',
78+
'PATCH games/{game}/users/{user}/roles',
7679
],
7780
],
7881
],

0 commit comments

Comments
 (0)