Skip to content

Commit ba1ae71

Browse files
authored
Real models (#5)
* Real models * wip * Better defaults * wip * wip * Handle relative assets
1 parent 39b47c9 commit ba1ae71

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Deploy/DeployServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public function boot()
2323
}
2424
});
2525

26+
config()->set('app.asset_url', '/');
27+
2628
$this->app[Dispatcher::class]->map([
2729
\Spatie\Export\Jobs\CrawlSite::class => CrawlSiteHandler::class,
2830
]);

src/OzuServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Code16\OzuClient;
44

5+
use Code16\OzuClient\Deploy\DeployServiceProvider;
56
use Code16\OzuClient\Support\Pagination\StaticLengthAwarePaginator;
67
use Code16\OzuClient\Support\Pagination\StaticPaginator;
78
use Code16\OzuClient\Support\Thumbnails\CdnThumbnail;
@@ -50,6 +51,8 @@ public function register()
5051
? $app->make(CdnThumbnail::class)
5152
: $app->make(LocalThumbnail::class);
5253
});
54+
55+
$this->app->register(DeployServiceProvider::class);
5356
}
5457

5558
public function boot()

0 commit comments

Comments
 (0)