mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
fix require path
This commit is contained in:
parent
31565d2c77
commit
6b05f526a0
@ -434,11 +434,18 @@ namespace MediaBrowser.WebDashboard.Api
|
||||
|
||||
var versionString = !string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase) ? "?v=" + version : string.Empty;
|
||||
|
||||
var files = new List<string>
|
||||
var files = new List<string>();
|
||||
|
||||
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
"bower_components/requirejs/require.js" + versionString,
|
||||
"scripts/site.js" + versionString
|
||||
};
|
||||
files.Add("bower_components/requirejs/require.js");
|
||||
}
|
||||
else
|
||||
{
|
||||
files.Add("bower_components" + version + "/requirejs/require.js");
|
||||
}
|
||||
|
||||
files.Add("scripts/site.js" + versionString);
|
||||
|
||||
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user