mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 12:48:07 +05:30
Обновлена версия Yii2, удалён костыль для учёта http/https
This commit is contained in:
1 parent
d7b193f2e7
commit
667c034aca
3 files changed
+5
-5
No files matched your search
@@ -39,7 +39,7 @@ class Module extends \yii\base\Module implements BootstrapInterface {
|
||||
*/
|
||||
public function bootstrap($app) {
|
||||
$app->getUrlManager()->addRules([
|
||||
"<protocol:http|https>://$this->host/$this->id/auth/<action>" => "$this->id/authentication/<action>",
|
||||
"//$this->host/$this->id/auth/<action>" => "$this->id/authentication/<action>",
|
||||
], false);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user