%fa:cog%%i18n:desktop.tags.mk-ui-header-account.settings%%fa:angle-right%
diff --git a/src/client/assets/404.js b/src/client/assets/404.js
deleted file mode 100644
index 9e498fe7c2..0000000000
--- a/src/client/assets/404.js
+++ /dev/null
@@ -1,25 +0,0 @@
-const yn = window.confirm(
- 'サーバー上に存在しないスクリプトがリクエストされました。お使いのMisskeyのバージョンが古いことが原因の可能性があります。Misskeyを更新しますか?\n\nA script that does not exist on the server was requested. It may be caused by an old version of Misskey you’re using. Do you want to delete the cache?');
-
-const langYn = window.confirm('また、言語を日本語に設定すると解決する場合があります。日本語に設定しますか?\n\nAlso, setting the language to Japanese may solve the problem. Would you like to set it to Japanese?');
-
-if (langYn) {
- localStorage.setItem('lang', 'ja');
-}
-
-if (yn) {
- // Clear cache (serive worker)
- try {
- navigator.serviceWorker.controller.postMessage('clear');
-
- navigator.serviceWorker.getRegistrations().then(registrations => {
- registrations.forEach(registration => registration.unregister());
- });
- } catch (e) {
- console.error(e);
- }
-
- localStorage.removeItem('v');
-
- location.reload(true);
-}
diff --git a/src/client/docs/layout.pug b/src/client/docs/layout.pug
index 29d2a3ff69..1d9ebcb4cd 100644
--- a/src/client/docs/layout.pug
+++ b/src/client/docs/layout.pug
@@ -6,7 +6,7 @@ html(lang= lang)
meta(name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no")
title
| #{title} | Misskey Docs
- link(rel="stylesheet" href="/assets/style.css")
+ link(rel="stylesheet" href="/docs/assets/style.css")
block meta
//- FontAwesome style
diff --git a/src/config/types.ts b/src/config/types.ts
index f802e70d1e..b181f2c8c1 100644
--- a/src/config/types.ts
+++ b/src/config/types.ts
@@ -41,10 +41,6 @@ export type Source = {
secret_key: string;
};
accesslog?: string;
- accesses?: {
- enable: boolean;
- port: number;
- };
twitter?: {
consumer_key: string;
consumer_secret: string;
diff --git a/src/index.ts b/src/index.ts
index 68b289793b..d633fcbbcb 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -10,7 +10,6 @@ import * as debug from 'debug';
import chalk from 'chalk';
// import portUsed = require('tcp-port-used');
import isRoot = require('is-root');
-import { master } from 'accesses';
import Xev from 'xev';
import Logger from './utils/logger';
@@ -73,11 +72,6 @@ async function masterMain(opt) {
Logger.info(chalk.green('Successfully initialized :)'));
- // Init accesses
- if (config.accesses && config.accesses.enable) {
- master();
- }
-
spawnWorkers(() => {
if (!opt['only-processor']) {
Logger.info(chalk.bold.green(
diff --git a/src/models/access-token.ts b/src/models/access-token.ts
index 4451ca140d..9909ea01ad 100644
--- a/src/models/access-token.ts
+++ b/src/models/access-token.ts
@@ -1,12 +1,12 @@
import * as mongo from 'mongodb';
import db from '../db/mongodb';
-const AccessToken = db.get