mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Final bit of cleanup on the server to work with a CDN.
This commit is contained in:
parent
f2359ab273
commit
2586ee9f98
@ -20,6 +20,6 @@ namespace Wabbajack.BuildServer.Models
|
||||
[BsonIgnore]
|
||||
public string MungedName => $"{Path.GetFileNameWithoutExtension(Name)}-{Id}{Path.GetExtension(Name)}";
|
||||
|
||||
[BsonIgnore] public object Uri => $"https://build.wabbajack.org/files/{MungedName}";
|
||||
[BsonIgnore] public object Uri => $"https://wabbajack.b-cdn.net/{MungedName}";
|
||||
}
|
||||
}
|
||||
|
@ -114,7 +114,6 @@ namespace Wabbajack.BuildServer
|
||||
FileProvider = new PhysicalFileProvider(
|
||||
Path.Combine(Directory.GetCurrentDirectory(), "public")),
|
||||
StaticFileOptions = {ServeUnknownFileTypes = true},
|
||||
EnableDirectoryBrowsing = true
|
||||
});
|
||||
|
||||
app.UseEndpoints(endpoints =>
|
||||
|
Loading…
Reference in New Issue
Block a user