mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update RestrictedNames, add additional static assets
This commit is contained in:
parent
77f21b4b33
commit
1031311f06
1 changed files with 9 additions and 2 deletions
|
@ -87,6 +87,14 @@ class RestrictedNames
|
|||
'assets',
|
||||
'public',
|
||||
'storage',
|
||||
'htaccess',
|
||||
'.htaccess',
|
||||
'favicon.ico',
|
||||
'embed.js',
|
||||
'index.php',
|
||||
'manifest.json',
|
||||
'mix-manifest.json',
|
||||
'robots.txt',
|
||||
|
||||
// Laravel Horizon
|
||||
'horizon',
|
||||
|
@ -147,7 +155,6 @@ class RestrictedNames
|
|||
'driver',
|
||||
'e',
|
||||
'embed',
|
||||
'embed.js',
|
||||
'email',
|
||||
'emails',
|
||||
'error',
|
||||
|
@ -191,7 +198,6 @@ class RestrictedNames
|
|||
'invites',
|
||||
'import',
|
||||
'imports',
|
||||
'index.php',
|
||||
'j',
|
||||
'js',
|
||||
'k',
|
||||
|
@ -329,6 +335,7 @@ class RestrictedNames
|
|||
$reserved = self::$reserved;
|
||||
|
||||
$res = array_merge($additional, $reserved, $banned);
|
||||
$res = array_unique($res);
|
||||
sort($res);
|
||||
|
||||
return $res;
|
||||
|
|
Loading…
Reference in a new issue