This website requires JavaScript.
Explore
Help
Sign In
PonyMirrors
/
poll.horse
Watch
1
Star
0
Fork
You've already forked poll.horse
0
mirror of
https://github.com/Wolvan/poll.horse.git
synced
2025-02-16 17:54:22 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
4788087a3e
poll.horse
/
src
/
Config.ts
4 lines
91 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Implement Form Expansion If more than 3 options are written down, additional inputs will load in to allow more options. The maximum cap of options currently is set to 255 but can be configured in Config.ts. Likewise, the input length can also be controlled from there.
2022-01-01 14:36:25 +01:00
"use strict"
;
Implement different backend types Including to the previous flatfile storage, a new storage for MySQL has been added to store polls in a database. The amount of possible Poll Options has also been reduced to 20.
2022-01-08 14:32:25 +01:00
export
const
MAX_POLL_OPTIONS
=
20
;
Implement Form Expansion If more than 3 options are written down, additional inputs will load in to allow more options. The maximum cap of options currently is set to 255 but can be configured in Config.ts. Likewise, the input length can also be controlled from there.
2022-01-01 14:36:25 +01:00
export
const
MAX_CHARACTER_LENGTH
=
300
;
Reference in a new issue
Copy permalink