fix WebCache path
issue: MatterHackers/MCCentral#5361 Revise UndoBuffer tests
This commit is contained in:
parent
3a4cd1c305
commit
9c825cf6e7
5 changed files with 14 additions and 20 deletions
|
|
@ -31,6 +31,7 @@ either expressed or implied, of the FreeBSD Project.
|
|||
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.Localizations;
|
||||
using MatterHackers.MatterControl.DataStorage;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -126,7 +127,7 @@ namespace MatterHackers.MatterControl.VersionManagement
|
|||
|
||||
protected void SendRequest(ulong longHash)
|
||||
{
|
||||
string cacheFileName = Path.Combine(WebCache.CachePath, longHash.ToString() + ".txt");
|
||||
var cacheFileName = Path.Combine(ApplicationDataStorage.Instance.WebCacheDirectory, longHash.ToString() + ".txt");
|
||||
ResponseType cacheResponse = null;
|
||||
|
||||
if (longHash != 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue