Skip to content

feat: asset canister allows configuring fallback file and status#4515

Open
viviveevee wants to merge 4 commits intomasterfrom
SDK-2633-customizable-fallback-for-404-status-codes-in-the-asset-canister
Open

feat: asset canister allows configuring fallback file and status#4515
viviveevee wants to merge 4 commits intomasterfrom
SDK-2633-customizable-fallback-for-404-status-codes-in-the-asset-canister

Conversation

@viviveevee
Copy link
Copy Markdown
Contributor

@viviveevee viviveevee commented Apr 1, 2026

Description

Removed support for asset certification v1.

Added customizable fallback behavior via the configure endpoint. The new fallback field in ConfigureArguments accepts a FallbackConfiguration { path, status_code } to control which asset is served (and with which HTTP status) for requests that don't match any stored asset. Defaults to /index.html with status 200, same as the previous unconfigurable behavior. Set to null to restore the default.

Fixes SDK-2633

How Has This Been Tested?

added unit tests

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@viviveevee viviveevee marked this pull request as ready for review April 1, 2026 11:22
@viviveevee viviveevee requested a review from a team as a code owner April 1, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant