mirror of
https://github.com/GuerillaStudio/compteur-de-greve.git
synced 2024-12-18 05:41:56 +00:00
fix serverless
This commit is contained in:
parent
0bbe61f47d
commit
419358852d
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
[build]
|
[build]
|
||||||
publish = "public"
|
publish = "public"
|
||||||
command = "npm run build"
|
command = "npm run build"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/"
|
||||||
|
to = "/.netlify/functions/serverless"
|
||||||
|
status = 200
|
||||||
|
force = true
|
||||||
|
_generated_by_eleventy_serverless = "serverless"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
layout: base.njk
|
layout: base.njk
|
||||||
title: Compteur de grève
|
title: Compteur de grève
|
||||||
permalink:
|
permalink:
|
||||||
serverless: /
|
serverless: /
|
||||||
---
|
---
|
||||||
<section class="banner" x-data="counter" data-initial-count="{{count}}">
|
<section class="banner" x-data="counter" data-initial-count="{{count}}">
|
||||||
<div class="banner-layout">
|
<div class="banner-layout">
|
||||||
|
|
Loading…
Reference in a new issue