Skip to content

Commit

Permalink
Merge pull request #5 from hans-thomas/fixing-docs-and-configs
Browse files Browse the repository at this point in the history
- setting images and videos optimization to false by default
- fixing get started route
  • Loading branch information
hans-thomas authored Sep 17, 2023
2 parents b4bcb21 + 2cce53a commit aac232a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
|
*/
'optimization' => [
'images' => true,
'videos' => true,
'images' => false,
'videos' => false,
],

/*
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h1 class="mt-0">{{ .Title }}</h1>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
<a class="btn btn-primary btn-lg px-4 mb-2"
href="/docs/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}getting-start/facade/"
href="/docs/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}getting-started/facade/"
role="button">{{ i18n "get-started" }}</a>
<p class="meta">Open-source MIT Licensed.</p>
</div>
Expand Down
12 changes: 12 additions & 0 deletions tests/Feature/JobsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@

class JobsTest extends TestCase
{
/**
* Setup the test environment.
*
* @return void
*/
protected function setUp(): void
{
parent::setUp();
$this->app['config']->set('alicia.optimization.images', true);
$this->app['config']->set('alicia.optimization.videos', true);
}

/**
* @test
*
Expand Down

1 comment on commit aac232a

@vercel
Copy link

@vercel vercel bot commented on aac232a Sep 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

alicia – ./

alicia-hans-thomas.vercel.app
docs-alicia.vercel.app
alicia-git-master-hans-thomas.vercel.app

Please sign in to comment.