Set the default salt mine URL to the final one

+ fixed a WIN32 build error.
This commit is contained in:
Matthias Koefferlein 2017-05-17 22:22:27 +02:00
parent 60cfbd9c6f
commit e08e3459af
1 changed files with 2 additions and 2 deletions

View File

@ -167,12 +167,12 @@ get_klayout_path ()
std::string
salt_mine_url ()
{
const std::string default_url ("https://www.klayout.org/salt.mine");
const std::string default_url ("https://sami.klayout.org/repository.xml");
#ifdef _WIN32
wchar_t *env = _wgetenv (L"KLAYOUT_SALT_MINE");
if (env) {
return tl::to_string (QString ((const QChar *) env)));
return tl::to_string (QString ((const QChar *) env));
} else {
return default_url;
}