Commit fdd5b3e
LDFOUR\luisd
WN-280,
fix(swagger): force Accept-Language header to "en" to prevent DB errors
Swagger UI was automatically sending a long Accept-Language header (e.g., "en-US,en;q=0.5") which caused an SQL error due to column size limits in the usage_logs table.
This commit overrides the Swagger UI config to force the Accept-Language header to a fixed value ("en"), avoiding the issue entirely.
Modified the published Swagger UI view in resources/views/vendor/l5-swagger/index.blade.php.1 parent 9900a81 commit fdd5b3e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments