Latest version | 1.1.2 |
---|---|
Minimum Core | |
Compatible Core | |
File size | 136.16 KB |
Last updated | 2 years ago |
Created | 2 years ago |
Authors | |
Languages |
|
Systems | All systems |
Project source | Project URL |
TL;DR: When you open a window that can have a permalink generated, the window's URL is replaced with the link. Clicking the "Copy document id" link (top left of windows) or the button (depending on configuration) copies the permalink to the clipboard if possible, rather than the ID.
Supported versions: Requires Foundry 10 to work.
License: Version 1.1.1 and above is released under the MIT License.
Developed for Meadiocrity Mead (https://www.meadiocritymead.com/) and Battlemage Brewery (https://www.battlemagebrewing.com/)
If you're running a reverse proxy in front of Foundry, we can make it work. The essence of the config is the following:
location / {
proxy_pass http://localhost:30000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
location /game {
proxy_pass http://localhost:30000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
# If we're returning a 302 auth redirect from /game, pass the args
proxy_intercept_errors on;
error_page 302 = @join_redirect;
}
location @join_redirect {
return 302 /join$is_args$args;
}
Or, a full NixOS (https://nixos.org) config that requests a certificate via Let's Encrypt:
services.nginx.virtualHosts."foundry.example.com" = {
http2 = true;
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:30000";
proxyWebsockets = true;
};
locations."/game" = {
proxyPass = "http://127.0.0.1:30000";
proxyWebsockets = true;
extraConfig = ''
# If we're returning a 302 auth redirect from /game, pass the args
proxy_intercept_errors on;
error_page 302 = @join_redirect;
'';
};
extraConfig = ''
location @join_redirect {
return 302 /join$is_args$args;
}
'';
};
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: foundry-permalinks or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.