diff --git a/.env.example b/.env.example index 2aabd176..d4954f09 100644 --- a/.env.example +++ b/.env.example @@ -30,4 +30,10 @@ MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS= -MAIL_FROM_NAME="${APP_NAME}" \ No newline at end of file +MAIL_FROM_NAME="${APP_NAME}" + +LDC_STATUS_CHECKER_API_KEY="MY_KEY" +LDC_STATUS_CHECKER_UUID="UUID_PROJECT" +LDC_WEB_API_KEY="MY_KEY" + +GOOGLE_MAPS_KEY= \ No newline at end of file diff --git a/.gitignore b/.gitignore index 9e16ba7f..bd99c90d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ /node_modules /public/hot /public/storage +/public/build /storage/*.key /vendor .env @@ -12,4 +13,5 @@ Homestead.yaml npm-debug.log yarn-error.log /.idea -/.vscode \ No newline at end of file +/.vscode +auth.json \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0d2ee2b..698ffbf4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,11 @@ stages: - Security - CodingStandards - - Builds + - DepBuildsTests + - DepBuilds + - Build + - Deploy + - Clean composer-security: stage: Security @@ -15,6 +19,9 @@ composer-security: - composer-security-checker-report.json allow_failure: true needs: [] + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == "develop" npm-security: stage: Security @@ -30,6 +37,9 @@ npm-security: - npm-security-checker-report.json allow_failure: true needs: [] + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == "develop" phpcs: stage: CodingStandards @@ -37,9 +47,6 @@ phpcs: before_script: - composer config gitlab-token.gitlab.com $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD - composer install - cache: - paths: - - vendor/ script: - vendor/bin/phpcs --report=junit --report-file=phpcs-report.xml artifacts: @@ -53,15 +60,18 @@ phpcs: needs: - composer-security - npm-security + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == "develop" -front-build: - stage: Builds +front-build-test: + stage: DepBuildsTests image: node:17.9.1 - before_script: - - npm install cache: paths: - node_modules/ + before_script: + - npm install script: - npm run prod > front-build-report.json artifacts: @@ -71,4 +81,210 @@ front-build: - front-build-report.json allow_failure: false needs: - - phpcs \ No newline at end of file + - phpcs + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == "develop" + +front-build: + stage: DepBuilds + image: node:17.9.1 + before_script: + - npm install + cache: + paths: + - public/build/ + script: + - npm run prod + artifacts: + expose_as: 'front-build' + paths: + - public/build + allow_failure: false + needs: + - front-build-test + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == "develop" + +composer-build: + stage: DepBuilds + image: $CI_REGISTRY/service-web-lab/ldc-web-images-docker/ldcweb-qa:php8.1-1.0 + before_script: + - composer config gitlab-token.gitlab.com $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD + cache: + paths: + - vendor/ + script: + - composer install --no-dev --optimize-autoloader --classmap-authoritative + artifacts: + expose_as: 'vendor' + paths: + - vendor + allow_failure: false + needs: + - phpcs + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == "develop" + +build-develop: + stage: Build + image: docker:20.10.16 + services: + - name: docker:20.10.16-dind + alias: docker + variables: + IMAGE_TAG: $CI_REGISTRY_IMAGE/develop:$CI_COMMIT_SHORT_SHA + script: + - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - docker build --tag $IMAGE_TAG . + - docker push $IMAGE_TAG + allow_failure: false + dependencies: + - front-build + - composer-build + needs: + - front-build + - composer-build + rules: + - if: $CI_COMMIT_BRANCH == "develop" + +deploy-develop: + stage: Deploy + image: debian:latest + before_script: + - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' + - eval $(ssh-agent -s) + - echo "$DEVELOP_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - ssh-keyscan $DEVELOP_IPADDRESS >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts + variables: + DEST_FOLDER: Run/$CI_PROJECT_NAME/develop + IMAGE_TAG: $CI_REGISTRY_IMAGE/develop:$CI_COMMIT_SHORT_SHA + script: + - ssh $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS "mkdir -p $DEST_FOLDER" + - scp .env.example $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS:$DEST_FOLDER + - scp dev-docker-compose.yml $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS:$DEST_FOLDER + - ssh $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS "sh Admin/Scripts/Deploy.sh $CI_PROJECT_NAME develop $IMAGE_TAG $DBPRODNAME" + environment: + name: develop + url: https://$CI_PROJECT_NAME-develop.s-web.loc + on_stop: stop-develop + needs: + - build-develop + rules: + - if: $CI_COMMIT_BRANCH == "develop" + +stop-develop: + stage: Deploy + image: debian:latest + before_script: + - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' + - eval $(ssh-agent -s) + - echo "$DEVELOP_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - ssh-keyscan $DEVELOP_IPADDRESS >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts + - apt-get update -y && apt-get install curl -y + - curl --fail --show-error --location "https://github.com/genuinetools/reg/releases/download/v$REG_VERSION/reg-linux-amd64" --output ./reg + - echo "$REG_SHA256 ./reg" | sha256sum -c - + - chmod a+x ./reg + variables: + DEST_FOLDER: Run/$CI_PROJECT_NAME/develop + IMAGE_TAG: $CI_REGISTRY_IMAGE/develop:$CI_COMMIT_SHORT_SHA + REG_SHA256: ade837fc5224acd8c34732bf54a94f579b47851cc6a7fd5899a98386b782e228 + REG_VERSION: 0.16.1 + script: + - ssh $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS "sh Admin/Scripts/DeployStop.sh $CI_PROJECT_NAME develop $DBPRODNAME" + - ./reg rm -d --auth-url $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $IMAGE_TAG + environment: + name: develop + action: stop + rules: + - if: $CI_COMMIT_BRANCH == "develop" + when: manual + +build-review: + stage: Build + image: docker:20.10.16 + services: + - name: docker:20.10.16-dind + alias: docker + variables: + IMAGE_TAG: $CI_REGISTRY_IMAGE/review:$CI_MERGE_REQUEST_IID + script: + - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - docker build --tag $IMAGE_TAG . + - docker push $IMAGE_TAG + allow_failure: false + dependencies: + - front-build + - composer-build + needs: + - front-build + - composer-build + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + +deploy-review: + stage: Deploy + image: debian:latest + before_script: + - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' + - eval $(ssh-agent -s) + - echo "$DEVELOP_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - ssh-keyscan $DEVELOP_IPADDRESS >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts + variables: + DEST_FOLDER: Run/$CI_PROJECT_NAME/$CI_MERGE_REQUEST_IID + IMAGE_TAG: $CI_REGISTRY_IMAGE/review:$CI_MERGE_REQUEST_IID + script: + - ssh $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS "mkdir -p $DEST_FOLDER" + - scp .env.example $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS:$DEST_FOLDER + - scp dev-docker-compose.yml $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS:$DEST_FOLDER + - ssh $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS "sh Admin/Scripts/Deploy.sh $CI_PROJECT_NAME $CI_MERGE_REQUEST_IID $IMAGE_TAG $DBPRODNAME" + environment: + name: review-$CI_MERGE_REQUEST_IID + url: https://$CI_PROJECT_NAME-$CI_MERGE_REQUEST_IID.s-web.loc + on_stop: stop-review + needs: + - build-review + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: manual + +stop-review: + stage: Deploy + image: debian:latest + before_script: + - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' + - eval $(ssh-agent -s) + - echo "$DEVELOP_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - ssh-keyscan $DEVELOP_IPADDRESS >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts + - apt-get update -y && apt-get install curl -y + - curl --fail --show-error --location "https://github.com/genuinetools/reg/releases/download/v$REG_VERSION/reg-linux-amd64" --output ./reg + - echo "$REG_SHA256 ./reg" | sha256sum -c - + - chmod a+x ./reg + variables: + DEST_FOLDER: Run/$CI_PROJECT_NAME/$CI_MERGE_REQUEST_IID + IMAGE_TAG: $CI_REGISTRY_IMAGE/review:$CI_MERGE_REQUEST_IID + REG_SHA256: ade837fc5224acd8c34732bf54a94f579b47851cc6a7fd5899a98386b782e228 + REG_VERSION: 0.16.1 + script: + - ssh $DEVELOP_SSH_USER@$DEVELOP_IPADDRESS "sh Admin/Scripts/DeployStop.sh $CI_PROJECT_NAME $CI_MERGE_REQUEST_IID $DBPRODNAME" + - ./reg rm -d --auth-url $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $IMAGE_TAG + environment: + name: review-$CI_MERGE_REQUEST_IID + action: stop + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: manual diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..90fa15f0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM registry.gitlab.com/service-web-lab/ldc-web-images-docker/ldcweb-production:php8.1.1 +COPY --chown=noroot:noroot . /app/srcs +COPY --chown=noroot:noroot ./public/build /app/srcs/public/build +COPY --chown=noroot:noroot ./vendor /app/srcs/vendor \ No newline at end of file diff --git a/README.md b/README.md index f171ecac..bba438f1 100644 --- a/README.md +++ b/README.md @@ -1,64 +1,16 @@ -
+# Nature & Respect DE - +## Crons +Put every min in PROD : +``` +php artisan schedule:run +``` -## About Laravel +## Available Commands +``` +ldc:status-report +ldc:send-status-report +ldcweb:admin-secure-sync -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: - -- [Simple, fast routing engine](https://laravel.com/docs/routing). -- [Powerful dependency injection container](https://laravel.com/docs/container). -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). -- [Robust background job processing](https://laravel.com/docs/queues). -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). - -Laravel is accessible, powerful, and provides tools required for large, robust applications. - -## Learning Laravel - -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. - -If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. - -## Laravel Sponsors - -We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). - -### Premium Partners - -- **[Vehikl](https://vehikl.com/)** -- **[Tighten Co.](https://tighten.co)** -- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** -- **[64 Robots](https://64robots.com)** -- **[Cubet Techno Labs](https://cubettech.com)** -- **[Cyber-Duck](https://cyber-duck.co.uk)** -- **[Many](https://www.many.co.uk)** -- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** -- **[DevSquad](https://devsquad.com)** -- **[Curotec](https://www.curotec.com/services/technologies/laravel/)** -- **[OP.GG](https://op.gg)** -- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** -- **[Lendio](https://lendio.com)** - -## Contributing - -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). - -## Code of Conduct - -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). - -## Security Vulnerabilities - -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. - -## License - -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). +sentry:test +``` \ No newline at end of file diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 36814872..be055acf 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -15,7 +15,6 @@ class Kernel extends ConsoleKernel */ protected function schedule(Schedule $schedule) { - // $schedule->command('inspire')->hourly(); } /** diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index f9e4e8db..49f030e6 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -42,6 +42,9 @@ class Handler extends ExceptionHandler public function register() { $this->reportable(function (Throwable $e) { + if (app()->bound('sentry')) { + app('sentry')->captureException($e); + } }); } } diff --git a/app/Http/Controllers/API/ProductController.php b/app/Http/Controllers/API/ProductController.php deleted file mode 100644 index d9c85f42..00000000 --- a/app/Http/Controllers/API/ProductController.php +++ /dev/null @@ -1,61 +0,0 @@ -first(); - // return Stores::where('city', $city)::all; - // return Stores::where('city', '=', $city)->get(); - } -} diff --git a/app/Http/Controllers/ContactController.php b/app/Http/Controllers/ContactController.php index 2d3eabbe..f7f2cb68 100644 --- a/app/Http/Controllers/ContactController.php +++ b/app/Http/Controllers/ContactController.php @@ -3,36 +3,49 @@ namespace App\Http\Controllers; use Illuminate\Http\Request; +use Illuminate\Support\Facades\Mail; class ContactController extends Controller { + /** + * Show contact page + * + * @return \Illuminate\Contracts\View\View + */ public function contactForm() { return view('pages.kontakt'); } + /** + * Submit contact form + * + * @param Request $request + * @return \Illuminate\Http\RedirectResponse + */ public function sendContactForm(Request $request) { - $request->validate([ - 'vorname' => 'required', - 'nachname' => 'required', - 'email' => 'required|email', - // 'phone' => 'required|digits:10|numeric', - 'nachricht' => 'required', - 'datenschutz' => 'required', - ]); + $request->validate( + [ + 'vorname' => 'required', + 'nachname' => 'required', + 'email' => 'required|email', + 'nachricht' => 'required', + 'datenschutz' => 'required', + ] + ); - $input = $request->all(); + $mailDatas = [ + 'vorname' => $request->vorname, + 'nachname' => $request->nachname, + 'email' => $request->email, + 'nachricht' => $request->nachricht, + ]; - // Send mail - \Mail::send('contactMail', array( - 'vorname' => $input['vorname'], - 'nachname' => $input['nachname'], - 'email' => $input['email'], - 'nachricht' => $input['nachricht'], - ), function ($message) use ($request) { + Mail::send('contactMail', $mailDatas, function ($message) { $message->from('info@wenndannmitrespekt.de', 'Kontaktformular wenndannmitrespekt.de'); - $message->to('kontakt@wenndannmitrespekt.de', 'kontakt@wenndannmitrespekt.de')->subject('Kontaktformular wenndannmitrespekt.de'); + $message->to('kontakt@wenndannmitrespekt.de', 'kontakt@wenndannmitrespekt.de') + ->subject('Kontaktformular wenndannmitrespekt.de'); }); return redirect()->back()->with(['success' => 'Vielen Dank für Ihre Nachricht.']); diff --git a/app/Http/Controllers/GroupController.php b/app/Http/Controllers/GroupController.php index d19fcea2..8fcfcb52 100644 --- a/app/Http/Controllers/GroupController.php +++ b/app/Http/Controllers/GroupController.php @@ -6,7 +6,13 @@ use App\Retailgroup; class GroupController extends Controller { - public function show($id) + /** + * RetailGroup Show + * + * @param integer $id + * @return \App\Retailgroup + */ + public function show(int $id) { return Retailgroup::find($id); } diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php index ef2f8d02..695686d3 100644 --- a/app/Http/Controllers/PageController.php +++ b/app/Http/Controllers/PageController.php @@ -2,14 +2,18 @@ namespace App\Http\Controllers; -use Illuminate\Http\Request; use App\Page; class PageController extends Controller { - public function index(Request $request, string $slug) + /** + * Page show + * + * @param string $slug + * @return \Illuminate\Contracts\View\View + */ + public function index(string $slug) { - $page = Page::where('slug', $slug)->first(); if ($page == null) { abort(404); diff --git a/app/Http/Controllers/ProductController.php b/app/Http/Controllers/ProductController.php index 6488ffd3..d97a2c96 100644 --- a/app/Http/Controllers/ProductController.php +++ b/app/Http/Controllers/ProductController.php @@ -6,25 +6,29 @@ use App\Product; class ProductController extends Controller { + /** + * Products index + * + * @return \Illuminate\Contracts\View\View + */ public function index() { - - $products = Product::all()->sortby('sequence')->reverse()->groupBy('poultry'); - - // dd($products); - // filter poultry + $products = Product::all()->sortby('sequence')->reverse()->groupBy('poultry'); $poultries = $products->keys()->sort(); - // dd($poultries); return view('pages.produkte', compact(['products', 'poultries'])); } - public function show($id) + /** + * Product show + * + * @param mixed $id + * @return \Illuminate\Contracts\View\View + */ + public function show(mixed $id) { - $product = Product::where('id', $id)->first(); if ($product == null) { $product = Product::where('slug', $id)->first(); - if ($product == null) { abort(404); } diff --git a/app/Http/Controllers/RecipeController.php b/app/Http/Controllers/RecipeController.php index 97387d6e..137cbc65 100644 --- a/app/Http/Controllers/RecipeController.php +++ b/app/Http/Controllers/RecipeController.php @@ -9,31 +9,30 @@ class RecipeController extends Controller /** * Display a listing of the resource. * - * @return \Illuminate\Http\Response + * @return \Illuminate\Contracts\View\View */ public function index() { - // get recipies + // Get recipies. $recipes = Recipe::where('live', '1')->get(); - - // filter poultry + // Filter poultry. $poultries = $recipes->unique('cat')->pluck('cat'); - - // filter difficulty + // Filter difficulty. $difficulties = $recipes->unique('difficulty')->pluck('difficulty'); - - return view('pages.rezepte', compact(['recipes', 'poultries', 'difficulties'])); } - - public function show($id) + /** + * Recipe show + * + * @param mixed $id + * @return \Illuminate\Contracts\View\View + */ + public function show(mixed $id) { - // get recipies $recipe = Recipe::where('id', $id)->first(); if ($recipe == null) { $recipe = Recipe::where('slug', $id)->first(); - if ($recipe == null) { abort(404); } diff --git a/app/Http/Controllers/RegionController.php b/app/Http/Controllers/RegionController.php index 97588c90..1a061ccb 100644 --- a/app/Http/Controllers/RegionController.php +++ b/app/Http/Controllers/RegionController.php @@ -6,7 +6,13 @@ use App\Retailregion; class RegionController extends Controller { - public function show($id) + /** + * Show retail region + * + * @param integer $id + * @return \App\Retailregion; + */ + public function show(int $id) { return Retailregion::find($id); } diff --git a/app/Http/Controllers/StoreController.php b/app/Http/Controllers/StoreController.php index 9d095c97..69086215 100644 --- a/app/Http/Controllers/StoreController.php +++ b/app/Http/Controllers/StoreController.php @@ -2,39 +2,30 @@ namespace App\Http\Controllers; -use App\Store; use Illuminate\Support\Facades\DB; +use Illuminate\Http\Request; class StoreController extends Controller { - // Stores - public function index() + /** + * Store by city + * + * @param \Illuminate\Http\Request $request + * @param mixed $city + * @return \App\Store; + */ + public function city(Request $request, mixed $city) { - return Store::all(); - } - - public function show($id) - { - return Store::find($id); - } - - // Stores by city - public function city($city) - { - - if (is_numeric($city)) { - return Store::where('zipcode', '=', $city)->get(); - } else { - return Store::where('city', '=', $city)->get(); + // CSRF Token check. + if ( + !(is_string($request->session()->token()) && + is_string($request->header('X-CSRF-TOKEN')) && + hash_equals($request->session()->token(), $request->header('X-CSRF-TOKEN'))) + ) { + \abort(419); } - } - - // Stores by city - public function city2($city) - { if (is_numeric($city)) { - // return Store::where('zipcode', '=', $city)->get(); $stores = DB::table('stores') ->join('retailregions', 'stores.region_id', '=', 'retailregions.id') ->join('retailgroups', 'retailregions.region_group', '=', 'retailgroups.id') @@ -52,8 +43,6 @@ class StoreController extends Controller ->get(); return $stores; - - // return Store::where('city', '=', $city)->get(); - }//end if + } } } diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index c3be2544..11b7fa83 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -14,7 +14,7 @@ class Kernel extends HttpKernel * @var array