Skip to content

Commit

Permalink
Fix comments to clarify that an absolute path does not work for Orcha…
Browse files Browse the repository at this point in the history
…rdCore_Media__AssetsPaths
  • Loading branch information
Ryan Powers authored and Ryan Powers committed Jun 11, 2024
1 parent 3d3f172 commit e645ecd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<label asp-for="AssetsPath" class="col-sm-2 col-form-label">@T["Assets path"]</label>
<div class="col-sm-10">
<code><input asp-for="AssetsPath" type="text" class="form-control-plaintext" readonly /></code>
<span class="hint">@T["The path used to store media assets. The path can be relative to the tenant's App_Data folder, or absolute."]</span>
<span class="hint">@T["The path used to store media assets. The path must be relative to the tenant's App_Data folder."]</span>
</div>
<label asp-for="AssetsUsersFolder" class="col-sm-2 col-form-label">@T["Assets users folder"]</label>
<div class="col-sm-10">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class MediaOptions
public PathString AssetsRequestPath { get; set; }

/// <summary>
/// The path used to store media assets. The path can be relative to the tenant's App_Data folder, or absolute.
/// The path used to store media assets. The path must be relative to the tenant's App_Data folder.
/// </summary>
public string AssetsPath { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/docs/reference/modules/Media/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ The following configuration values are used by default and can be customized:
// The path used when serving media assets.
"AssetsRequestPath": "/media",

// The path used to store media assets. The path can be relative to the tenant's App_Data folder, or absolute.
// The path used to store media assets. The path must be relative to the tenant's App_Data folder.
"AssetsPath": "Media",

// Whether to use a token in the query string to prevent disc filling.
Expand Down

0 comments on commit e645ecd

Please sign in to comment.