Skip to content
Snippets Groups Projects
Commit 725637ec authored by DHCPCD's avatar DHCPCD
Browse files

Deleted data folder from source folder.

parent 67a80077
Branches
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ public class AuthorizationAttribute : ActionFilterAttribute ...@@ -44,7 +44,7 @@ public class AuthorizationAttribute : ActionFilterAttribute
} }
context.HttpContext.Response.StatusCode = 401; context.HttpContext.Response.StatusCode = 401;
await context.HttpContext.Response.WriteAsJsonAsync(new {error = "User not logged in."}); await context.HttpContext.Response.WriteAsJsonAsync(new {error = "Unauthorized"});
await context.HttpContext.Response.CompleteAsync(); await context.HttpContext.Response.CompleteAsync();
return; return;
} }
......
...@@ -23,7 +23,6 @@ public class UserStorage : IUserStorage, IServiceScope ...@@ -23,7 +23,6 @@ public class UserStorage : IUserStorage, IServiceScope
public Dictionary<int, Channel> Channels { get; set; } = new(); public Dictionary<int, Channel> Channels { get; set; } = new();
public Dictionary<int, SpectatorState> UserStates { get; set; } = new(); public Dictionary<int, SpectatorState> UserStates { get; set; } = new();
public IServiceScope Scope { get; set; } public IServiceScope Scope { get; set; }
public IServiceProvider ServiceProvider { get; } public IServiceProvider ServiceProvider { get; }
public UserStorage(IServiceProvider scope) public UserStorage(IServiceProvider scope)
{ {
......
"# osu-lazer-server-data"
{
"available_locales": ["en"],
"layout": "main_page",
"locale": "en",
"path": "Main_Page",
"subtitle": "Main page of CSTealia",
"tags": [],
"title": "Main page"
}
\ No newline at end of file
markdown=---
layout: fumos
---
Here you go
![Fumo](https://ae04.alicdn.com/kf/H9d9ea017210e45da9da3ee62226a5f8c2.jpg)
\ No newline at end of file
{
"available_locales": ["en"],
"layout": "main_page",
"locale": "en",
"path": "Main_Page",
"subtitle": "Main page of CSTealia",
"tags": [],
"title": "Main page"
}
\ No newline at end of file
markdown=---
layout: main_page
---
<!-- Do not add any empty lines inside this div. -->
<div class="wiki-main-page__blurb">
Welcome to the osu! wiki, the open-source knowledge base containing a wide range of information related to osu!, a free-to-win rhythm game.
</div>
<div class="wiki-main-page__panels">
<div class="wiki-main-page-panel wiki-main-page-panel--full">
# Getting started
## You want get free fumos?
![Click here](https://ae04.alicdn.com/kf/H9d9ea017210e45da9da3ee62226a5f8c2.jpg)
</div>
<div class="wiki-main-page-panel">
# We need wiki
<div class="wiki-main-page-panel">
# We want wiki
</div>
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment