mirror of
https://github.com/torrentpier/torrentpier
synced 2025-07-05 12:36:12 -07:00
feat(environment): Make configurable TP_HOST
and TP_PORT
(#1780)
This commit is contained in:
parent
e4242fc6de
commit
e51e091593
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
# Common params
|
||||
TP_HOST=example.com
|
||||
TP_PORT=80
|
||||
APP_ENV=production
|
||||
APP_CRON_ENABLED=true
|
||||
APP_DEMO_MODE=false
|
||||
|
|
|
@ -12,8 +12,8 @@ if (!defined('BB_ROOT')) {
|
|||
}
|
||||
|
||||
// Server settings
|
||||
$reserved_name = 'example.com';
|
||||
$reserved_port = 80;
|
||||
$reserved_name = env('TP_HOST', 'example.com');
|
||||
$reserved_port = env('TP_PORT', 80);
|
||||
|
||||
$bb_cfg = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue