persona-community-5/.pnpm-store/v3/files/3c/25abf43a9c0fc145d61675b61cf3246454be5e83b94d1c015af2a78fdceaa8abba4a01d9aa86e274b4b87d4953bce0124819bc400adee62751b984f86f1fc9
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

19 lines
603 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoServerTrailingSlash = void 0;
const NoServerTrailingSlash = () => {
return {
Server(server, { report, location }) {
if (!server.url)
return;
if (server.url.endsWith('/') && server.url !== '/') {
report({
message: 'Server `url` should not have a trailing slash.',
location: location.child(['url']),
});
}
},
};
};
exports.NoServerTrailingSlash = NoServerTrailingSlash;