mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-10 02:45:12 +00:00
Apply Biome formatting across the workspace
Fixes the formatting deltas from the initial Astro/Strapi scaffold and brings the legacy generate-og-images/generate-llms/validate-post scripts in line with Biome's style. No behavioral changes.
This commit is contained in:
+23
-21
@@ -1,32 +1,34 @@
|
||||
import type { Core } from '@strapi/strapi';
|
||||
import type { Core } from "@strapi/strapi";
|
||||
|
||||
const allowedMediaTypes = [
|
||||
'image/*',
|
||||
'video/*',
|
||||
'audio/*',
|
||||
'application/pdf',
|
||||
'application/msword',
|
||||
'application/vnd.openxmlformats-officedocument.*',
|
||||
'text/plain',
|
||||
'text/csv',
|
||||
"image/*",
|
||||
"video/*",
|
||||
"audio/*",
|
||||
"application/pdf",
|
||||
"application/msword",
|
||||
"application/vnd.openxmlformats-officedocument.*",
|
||||
"text/plain",
|
||||
"text/csv",
|
||||
];
|
||||
|
||||
const deniedTypes = [
|
||||
'image/svg+xml',
|
||||
'application/vnd.microsoft.portable-executable',
|
||||
'application/x-msdownload',
|
||||
'application/x-msdos-program',
|
||||
'application/x-executable',
|
||||
'application/x-dosexec',
|
||||
'application/x-sh',
|
||||
'text/x-shellscript',
|
||||
'application/x-mach-binary',
|
||||
"image/svg+xml",
|
||||
"application/vnd.microsoft.portable-executable",
|
||||
"application/x-msdownload",
|
||||
"application/x-msdos-program",
|
||||
"application/x-executable",
|
||||
"application/x-dosexec",
|
||||
"application/x-sh",
|
||||
"text/x-shellscript",
|
||||
"application/x-mach-binary",
|
||||
];
|
||||
|
||||
const config = ({ env }: Core.Config.Shared.ConfigParams): Core.Config.Plugin => ({
|
||||
'users-permissions': {
|
||||
const config = ({
|
||||
env,
|
||||
}: Core.Config.Shared.ConfigParams): Core.Config.Plugin => ({
|
||||
"users-permissions": {
|
||||
config: {
|
||||
jwtManagement: 'refresh',
|
||||
jwtManagement: "refresh",
|
||||
sessions: {
|
||||
httpOnly: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user