Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion public/components/common/PoweredByFider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export const PoweredByFider = (props: PoweredByFiderProps) => {
const source = encodeURIComponent(window?.location?.host || "")
const medium = "powered-by"
const campaign = props.slot
const version = fider.settings?.version?.split("-")[0]
// Strip only the trailing commit-hash segment (8+ hex chars) so pre-release
// markers like "-hcm.N" stay visible in the footer.
const version = fider.settings?.version?.replace(/-[0-9a-f]{7,}$/, "")
const versionString = fider.isSingleHostMode() && version && version !== "dev" ? `${version}` : ""

const className = classSet({
Expand Down