mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 19:22:32 +02:00
Merge 4e96519764
into bb03385a28
This commit is contained in:
commit
5d7580a108
1 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,7 @@ class Site < Sequel::Model
|
||||||
application/vnd.ms-fontobject
|
application/vnd.ms-fontobject
|
||||||
application/vnd.ms-opentype
|
application/vnd.ms-opentype
|
||||||
application/xml
|
application/xml
|
||||||
|
application/xslt+xml
|
||||||
audio/midi
|
audio/midi
|
||||||
font/otf
|
font/otf
|
||||||
font/sfnt
|
font/sfnt
|
||||||
|
@ -49,14 +50,15 @@ class Site < Sequel::Model
|
||||||
text/plain
|
text/plain
|
||||||
text/tsv
|
text/tsv
|
||||||
text/xml
|
text/xml
|
||||||
|
text/xsl
|
||||||
}
|
}
|
||||||
|
|
||||||
VALID_EXTENSIONS = %w{
|
VALID_EXTENSIONS = %w{
|
||||||
html htm txt text css js jpg jpeg png apng gif svg md markdown eot ttf woff woff2 json geojson csv tsv mf ico pdf asc key pgp xml mid midi manifest otf webapp less sass rss kml dae obj mtl scss webp avif xcf epub gltf bin webmanifest knowl atom opml rdf map gpg resolveHandle pls yaml yml toml osdx mjs cjs ts glb py
|
html htm txt text css js jpg jpeg png apng gif svg md markdown eot ttf woff woff2 json geojson csv tsv mf ico pdf asc key pgp xml xsl xslt mid midi manifest otf webapp less sass rss kml dae obj mtl scss webp avif xcf epub gltf bin webmanifest knowl atom opml rdf map gpg resolveHandle pls yaml yml toml osdx mjs cjs ts glb py
|
||||||
}
|
}
|
||||||
|
|
||||||
VALID_EDITABLE_EXTENSIONS = %w{
|
VALID_EDITABLE_EXTENSIONS = %w{
|
||||||
html htm txt js css scss md manifest less webmanifest xml json opml rdf svg gpg pgp resolveHandle pls yaml yml toml osdx mjs cjs ts py rss
|
html htm txt js css scss md manifest less webmanifest xml xsl xslt json opml rdf svg gpg pgp resolveHandle pls yaml yml toml osdx mjs cjs ts py rss
|
||||||
}
|
}
|
||||||
|
|
||||||
MINIMUM_PASSWORD_LENGTH = 5
|
MINIMUM_PASSWORD_LENGTH = 5
|
||||||
|
|
Loading…
Add table
Reference in a new issue