Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Jan 13, 2023
1 parent ae1afe2 commit 2c404f1
Show file tree
Hide file tree
Showing 69 changed files with 7 additions and 218 deletions.
2 changes: 1 addition & 1 deletion docs/404.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

File renamed without changes.
2 changes: 0 additions & 2 deletions docs/assets/app.min.js

This file was deleted.

5 changes: 0 additions & 5 deletions docs/assets/app.min.js.LICENSE.txt

This file was deleted.

90 changes: 0 additions & 90 deletions docs/assets/browserstack-logo.svg

This file was deleted.

14 changes: 0 additions & 14 deletions docs/assets/entrypoints.json

This file was deleted.

Binary file removed docs/assets/favicons/android-chrome-192x192.png
Binary file not shown.
Binary file removed docs/assets/favicons/android-chrome-512x512.png
Binary file not shown.
Binary file removed docs/assets/favicons/apple-touch-icon.png
Binary file not shown.
9 changes: 0 additions & 9 deletions docs/assets/favicons/browserconfig.xml

This file was deleted.

Binary file removed docs/assets/favicons/favicon-16x16.png
Binary file not shown.
Binary file removed docs/assets/favicons/favicon-32x32.png
Binary file not shown.
Binary file removed docs/assets/favicons/favicon.ico
Binary file not shown.
Binary file removed docs/assets/favicons/mstile-144x144.png
Binary file not shown.
Binary file removed docs/assets/favicons/mstile-150x150.png
Binary file not shown.
Binary file removed docs/assets/favicons/mstile-310x150.png
Binary file not shown.
Binary file removed docs/assets/favicons/mstile-310x310.png
Binary file not shown.
Binary file removed docs/assets/favicons/mstile-70x70.png
Binary file not shown.
43 changes: 0 additions & 43 deletions docs/assets/favicons/safari-pinned-tab.svg

This file was deleted.

19 changes: 0 additions & 19 deletions docs/assets/favicons/site.webmanifest

This file was deleted.

3 changes: 0 additions & 3 deletions docs/assets/logo.svg

This file was deleted.

20 changes: 0 additions & 20 deletions docs/assets/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions docs/assets/tw.min.css

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed docs~/media/1.jpg
Binary file not shown.
Binary file removed docs~/media/2.jpg
Binary file not shown.
Binary file removed docs~/media/piedweb-logo.png
Binary file not shown.
2 changes: 0 additions & 2 deletions docs~/robots.txt

This file was deleted.

12 changes: 6 additions & 6 deletions packages/static-generator/src/Generator/ErrorPageGenerator.php
Expand Up @@ -25,15 +25,15 @@ public function generate(?string $host = null): void
// TODO : make it useful when using a .htaccess else disable it
protected function generateErrorPage(?string $locale = null, string $uri = '404.html'): void
{
if (null !== $locale) {
$request = $this->requestStack->getCurrentRequest();
if (! $request instanceof \Symfony\Component\HttpFoundation\Request) {
$request = new Request();
}
$request = $this->requestStack->getCurrentRequest();
if (! $request instanceof \Symfony\Component\HttpFoundation\Request) {
$request = new Request();
}

if (null !== $locale) {
$request->setLocale($locale);
$this->requestStack->push($request);
}
$this->requestStack->push($request);

$filepath = $this->getStaticDir().(null !== $locale ? '/'.$locale : '').'/'.$uri;

Expand Down

0 comments on commit 2c404f1

Please sign in to comment.