Merge branch 'trunk'
This commit is contained in:
commit
2e3d03e53b
6 changed files with 26 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/ldcweb-production-8.3:latest
|
||||
FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/ldcweb-production-8.3:170625-101047
|
||||
COPY --chown=www-data:www-data . /app/srcs
|
||||
USER root
|
||||
RUN chmod -R 755 /app/srcs/storage
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ spec:
|
|||
app: ${CI_PROJECT_PATH_SLUG}-app
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 443
|
||||
targetPort: 80
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 35 KiB |
|
|
@ -75,10 +75,6 @@
|
|||
<img src="{{ Vite::asset('resources/assets/images/Criteres-qualite.png') }}"
|
||||
alt="Logo de la certification Critères qualité certifiés">
|
||||
</li>
|
||||
<li class="certification-item mx-1">
|
||||
<img src="{{ Vite::asset('resources/assets/images/Volaille-francaise.png') }}"
|
||||
alt="Logo de la certification Volailles françaises">
|
||||
</li>
|
||||
<li class="certification-item mx-1">
|
||||
<img src="{{ Vite::asset('resources/assets/images/Saveur-en-or.png') }}"
|
||||
alt="Logo de la certification Saveurs en Or">
|
||||
|
|
|
|||
|
|
@ -37,7 +37,10 @@ Route::prefix('bo')->name('bo.')->middleware(['admin-secure', 'throttle:credenti
|
|||
->name('ranges.change-published');
|
||||
|
||||
// * PRODUCTS
|
||||
Route::resource('products', ProductController::class)->except(['show']);
|
||||
Route::resource('products', ProductController::class)
|
||||
->except(['show'])
|
||||
->withoutMiddleware('htmlsanitize')
|
||||
->middleware('htmlsanitize:description,preparation,ingredients');
|
||||
Route::post('/products/{product}/change-published', [ProductController::class, 'changePublished'])
|
||||
->name('products.change-published');
|
||||
|
||||
|
|
|
|||
20
staging-resources.yaml
Normal file
20
staging-resources.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: ${CI_PROJECT_PATH_SLUG}-ingress-route
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`${APP_DOMAIN}`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: ${CI_PROJECT_PATH_SLUG}-service
|
||||
port: 80
|
||||
middlewares:
|
||||
- name: admin-ldc-whitelist
|
||||
namespace: common-services
|
||||
tls:
|
||||
secretName: ${CRT_TLS_NAME}
|
||||
Loading…
Add table
Reference in a new issue