Skip to content

Commit

Permalink
Add more formats
Browse files Browse the repository at this point in the history
  • Loading branch information
smugdev committed Aug 28, 2017
1 parent 0a1d89c commit 1b9ab2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion board/createboard.js
Expand Up @@ -15,7 +15,7 @@ sio.sendPost(serverAddress + ':' + port, {
title: boardName,
mods: mods,
banners: [],
fileFormats: ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'ico', 'webm', 'mp4', 'mp3', 'ogg', 'flac', 'apng'],
fileFormats: ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'ico', 'webm', 'mp4', 'mp3', 'ogg', 'flac', 'apng', 'pdf', 'iso', 'zip', 'tar', 'gz', 'rar', '7z', 'torrent'],
threadServers: threadServers,
admin: 'true',
operation: 'new'
Expand Down
2 changes: 1 addition & 1 deletion thread/threadmanager.js
Expand Up @@ -32,7 +32,7 @@ var settings = {
//mods: [],
//title: "Test", // /thisstuff/ comes from the naming system above
//banners: [],
fileFormats: ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'ico', 'webm', 'mp4', 'mp3', 'ogg', 'flac', 'apng'], //TODO if not [], should only approve formats that board and thread servers agree on
fileFormats: ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'ico', 'webm', 'mp4', 'mp3', 'ogg', 'flac', 'apng', 'pdf', 'iso', 'zip', 'tar', 'gz', 'rar', '7z', 'torrent'], //TODO if not [], should only approve formats that board and thread servers agree on
//TODO max file size
};

Expand Down

0 comments on commit 1b9ab2c

Please sign in to comment.