Changed graph download/upload URLs to reflect changes done with migrating graph repository to github.
This commit is contained in:
parent
7017320e3b
commit
1b7d7e18db
3 changed files with 3 additions and 3 deletions
|
|
@ -217,7 +217,7 @@ yb_graph_fixcamp "1"
|
|||
// ---
|
||||
// Default: "yapb.ru"
|
||||
//
|
||||
yb_graph_url "yapb.ru"
|
||||
yb_graph_url "graph.yapb.ru"
|
||||
|
||||
//
|
||||
// Kick bots to automatically make room for human players.
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public:
|
|||
StringRef author { "YaPB Project" };
|
||||
StringRef email { "yapb@jeefo.net" };
|
||||
StringRef url { "https://yapb.ru/" };
|
||||
StringRef download { "yapb.ru" };
|
||||
StringRef download { "graph.yapb.ru" };
|
||||
StringRef folder { "yapb" };
|
||||
StringRef logtag { "YB" };
|
||||
StringRef dtime { __DATE__ " " __TIME__ };
|
||||
|
|
|
|||
|
|
@ -759,7 +759,7 @@ int BotControl::cmdNodeUpload () {
|
|||
String mapName = game.getMapName ();
|
||||
|
||||
// try to upload the file
|
||||
if (http.uploadFile (strings.format ("http://%s/graph", product.download), strings.format ("%sgraph/%s.graph", graph.getDataDirectory (false), mapName.lowercase ()))) {
|
||||
if (http.uploadFile ("http://yapb.ru/upload", strings.format ("%sgraph/%s.graph", graph.getDataDirectory (false), mapName.lowercase ()))) {
|
||||
msg ("Graph file was successfully validated and uploaded to the YaPB Graph DB (%s).", product.download);
|
||||
msg ("It will be available for download for all YaPB users in a few minutes.");
|
||||
msg ("\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue