Upload files to "routes"

This commit is contained in:
2026-07-24 15:42:57 +00:00
parent 14e2c78547
commit e3a7b0b125
5 changed files with 396 additions and 0 deletions

34
routes/NameServer.cs Normal file
View File

@@ -0,0 +1,34 @@
using Stella.Models;
namespace Stella.Routes
{
public class NS
{
[ServerAPI.GET("/")]
public NameServerResponse NameServer()
{
return new NameServerResponse
{
Accounts = "http://ns.stellaonline.org",
API = "http://ns.stellaonline.org", // dont add /api because every call to this service to this already does
Auth = "http://ns.stellaonline.org/auth",
CDN = "http://ns.stellaonline.org/cdn",
Chat = "http://ns.stellaonline.org/chat",
Clubs = "http://ns.stellaonline.org/clubs",
Commerce = "http://ns.stellaonline.org/commerce",
DataCollection = "http://ns.stellaonline.org/datacollection",
Images = "http://ns.stellaonline.org/img",
Leaderboard = "http://ns.stellaonline.org",
Link = "http://ns.stellaonline.org/link",
Matchmaking = "http://ns.stellaonline.org/match",
Moderation = "http://ns.stellaonline.org/moderation",
Notifications = "http://ns.stellaonline.org/notify",
PlatformNotifications = "http://ns.stellaonline.org/platformnotifications",
RoomComments = "http://ns.stellaonline.org/roomcomments",
Rooms = "http://ns.stellaonline.org/rooms",
Storage = "http://ns.stellaonline.org/storage",
WWW = "http://stellaonline.org"
};
}
}
}