Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit ac7e860

Browse files
authored
Merge pull request overtrue#45 from ty666/master
fixed overtrue#30
2 parents 77868df + 7ae710c commit ac7e860

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/UEditorServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ public function boot(Router $router)
4343
__DIR__.'/translations' => base_path('resources/lang/vendor/ueditor'),
4444
], 'resources');
4545

46-
if (!app()->runningInConsole()) {
47-
$this->registerRoute($router);
48-
}
46+
$this->registerRoute($router);
4947
}
5048

5149
/**

0 commit comments

Comments
 (0)