Skip to content
Snippets Groups Projects
Unverified Commit 82eff5e3 authored by BITARD Michaël's avatar BITARD Michaël Committed by GitHub
Browse files

fix(storybook): les storybooks sont de nouveau accessibles (#565)

parent b5c61bbc
No related branches found
No related tags found
No related merge requests found
FROM nginx FROM nginx
ADD storybook_nginx.conf /etc/nginx/templates/default.conf.template
COPY packages/ui/storybook-static /usr/share/nginx/html COPY packages/ui/storybook-static /usr/share/nginx/html
...@@ -16,7 +16,7 @@ setup(app => { ...@@ -16,7 +16,7 @@ setup(app => {
export const decorators: Decorator[] = [ export const decorators: Decorator[] = [
story => ({ story => ({
components: { story, IconSprite }, components: { story, IconSprite },
template: '<div style="margin: 3em;"><IconSprite /><story /></div>', template: '<div class="page">' + '<main class="main">' + '<div class="container"><IconSprite /><story /></div>' + '</main>' + '</div>',
}), }),
] ]
......
server {
listen 80;
listen [::]:80;
server_name localhost;
include mime.types;
types
{
application/javascript mjs;
}
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment