Skip to content

Commit

Permalink
switched logic on published flag so that it is true if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
samdeane committed Aug 20, 2024
1 parent b2f8f8f commit 8042114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LilliputWeb/Pages/Support/LeafPage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import Vapor

fileprivate let isGamePublished = Environment.get("PUBLISHED") == "true"
fileprivate let isGamePublished = Environment.get("PUBLISHED") != "false"

protocol LeafPage: Codable {
func meta(for user: User?) -> PageMetadata
Expand Down

0 comments on commit 8042114

Please sign in to comment.