mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🔧 Enable storybook to be served from a subdir
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user