Markus-Rost vor 4 Jahren
Ursprung
Commit
95fbc5e2f3
3 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 2 2
      .env.example
  2. 1 1
      RcGcDb
  3. 2 2
      dashboard/index.js

+ 2 - 2
.env.example

@@ -21,8 +21,8 @@ invite="https://discord.gg/v77RTk5"
 # Link to the patreon page for the bot
 patreon="https://www.patreon.com/WikiBot"
 # API token for phabricator.wikimedia.org
-phabricator-wikimedia="<token>"
+phabricator-wikimedia=""
 # API token for phabricator.miraheze.org
-phabricator-miraheze="<token>"
+phabricator-miraheze=""
 # Path to a log file for usage statistics
 usagelog=""

+ 1 - 1
RcGcDb

@@ -1 +1 @@
-Subproject commit 4025f15e1a9117587730ce65167e73290919226f
+Subproject commit d4c44da1263a89f816b97fb3c02e36245bfb2094

+ 2 - 2
dashboard/index.js

@@ -22,9 +22,9 @@ const files = new Map([
 	...fs.readdirSync( './i18n/widgets' ).map( file => {
 		return [`/src/widgets/${file}`, `./i18n/widgets/${file}`];
 	} ),
-	...fs.readdirSync( './RcGcDb/locale/widgets' ).map( file => {
+	...( fs.existsSync('./RcGcDb/start.py') ? fs.readdirSync( './RcGcDb/locale/widgets' ).map( file => {
 		return [`/src/widgets/RcGcDb/${file}`, `./RcGcDb/locale/widgets/${file}`];
-	} )
+	} ) : [] )
 ].map( ([file, filepath]) => {
 	let contentType = 'text/html';
 	switch ( path.extname(file) ) {