even more cleansing
- added support for x.com urls - removed del shortcut for clearing url input area because it was causing regular typing issues - added info about no liability - fixed donate button glow and text backdrop padding - updated donation and privacy policy texts for more clarity in both english and russian - made cors question in setup script to take yes as answer, not just 'y' - text-to-copy now has proper rounding when highlighted - home screen now smoothly fades in instead of popping in
This commit is contained in:
@@ -60,7 +60,8 @@ function setup() {
|
||||
console.log(Bright("\nOne last thing: would you like to enable CORS? It allows other websites and extensions to use your instance's API.\ny/n (n)"));
|
||||
|
||||
rl.question(q, apiCors => {
|
||||
if (apiCors.toLowerCase() !== 'y') ob['cors'] = '0'
|
||||
let answCors = apiCors.toLowerCase().trim();
|
||||
if (answCors !== 'y' || answCors !== 'yes') ob['cors'] = '0'
|
||||
final()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user