ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix upgrade script \n
Chocobozzz407c4473ad6b
diff --git a/.gitignore b/.gitignoreindex 169027c360..42d4f59269 100644--- a/.gitignore+++ b/.gitignore@@ -18,3 +18,4 @@/*.sublime-project/*.sublime-workspace/dist+/.ideadiff --git a/scripts/upgrade-peertube.sh b/scripts/upgrade-peertube.shindex f7b8564707..5186a269fa 100755--- a/scripts/upgrade-peertube.sh+++ b/scripts/upgrade-peertube.sh@@ -35,4 +35,4 @@ git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1yarn install --pure-lockfilenpm run build-echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts."+echo -e "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts."diff --git a/server.ts b/server.tsindex a6a9fcb027..1ba208c280 100644--- a/server.ts+++ b/server.ts@@ -24,7 +24,7 @@ process.title = 'peertube'const app = express()// ----------- Database ------------// Do not use barels because we don't want to load all modules here (we need to initialize database first)+// Do not use barrels because we don't want to load all modules here (we need to initialize database first)import { logger } from './server/helpers/logger'import { API_VERSION, CONFIG } from './server/initializers/constants'// Initialize database and models@@ -55,7 +55,7 @@ import { apiRouter, clientsRouter, staticRouter } from './server/controllers'// ----------- App ------------// Enable cors for develop+// Enable CORS for developif (isTestInstance()) {app.use(cors({origin: 'http://localhost:3000',