Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comments to clarify that an absolute path does not work for OrchardCore_Media__AssetsPaths #16293

Merged
merged 4 commits into from
Jun 13, 2024
Merged
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
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 name of the folder used to store media assets inside the 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 name of the folder used to store media assets inside the 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 name of the folder used to store media assets inside the App_Data folder.
"AssetsPath": "Media",

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