mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 00:36:13 +02:00
🔧 Enable storybook to be served from a subdir
This commit is contained in:
parent
f683d65990
commit
deef8abca5
3 changed files with 9 additions and 4 deletions
|
@ -149,6 +149,11 @@ http {
|
|||
proxy_pass http://127.0.0.1:6060/ws/notifications;
|
||||
}
|
||||
|
||||
location /storybook {
|
||||
alias /home/penpot/penpot/frontend/storybook-static/;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
location / {
|
||||
location ~ ^/github/penpot-files/(?<template_file>[a-zA-Z0-9\-\_\.]+) {
|
||||
proxy_pass https://raw.githubusercontent.com/penpot/penpot-files/main/$template_file;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue