Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion backend/apps/ifc_validation_bff/views_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_feature_url(feature_code):
feature_files = get_feature_filename(feature_code)

if feature_files:
return os.path.join(FEATURE_URL, feature_code[:3], os.path.basename(feature_files[0]))
return os.path.join(FEATURE_URL, os.path.basename(feature_files[0].replace(".feature", ".html")))
return None


Expand Down
2 changes: 1 addition & 1 deletion backend/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# URL for rule hyperlinks; determine the branch based on the environment
FEATURE_BRANCH = "development" if DEVELOPMENT else "main"
FEATURE_URL = os.getenv(
"FEATURE_URL", f"https://github.com/buildingSMART/ifc-gherkin-rules/blob/{FEATURE_BRANCH}/features/rules"
"FEATURE_URL", f"https://buildingsmart.github.io/ifc-gherkin-rules/branches/{FEATURE_BRANCH}/features/"
)

# Max. number of outcomes shown in UI
Expand Down