summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/web/ClientServerService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-05-11 16:22:46 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-05-11 16:22:46 +0900
commitb380dc53e13cd925eb94420863fe38f4779a6ab8 (patch)
treece23f83b9f1ebaa6094111e8207e9d42b16e651f /packages/backend/src/server/web/ClientServerService.ts
parentfix(frontend): より明確な説明にしたのとtypo修正 (diff)
downloadsharkey-b380dc53e13cd925eb94420863fe38f4779a6ab8.tar.gz
sharkey-b380dc53e13cd925eb94420863fe38f4779a6ab8.tar.bz2
sharkey-b380dc53e13cd925eb94420863fe38f4779a6ab8.zip
fix typo
Diffstat (limited to 'packages/backend/src/server/web/ClientServerService.ts')
-rw-r--r--packages/backend/src/server/web/ClientServerService.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/backend/src/server/web/ClientServerService.ts b/packages/backend/src/server/web/ClientServerService.ts
index 12369c927c..f780280c1f 100644
--- a/packages/backend/src/server/web/ClientServerService.ts
+++ b/packages/backend/src/server/web/ClientServerService.ts
@@ -423,7 +423,7 @@ export class ClientServerService {
: [];
reply.header('Cache-Control', 'public, max-age=15');
- if (profile.preventAiLarning) {
+ if (profile.preventAiLearning) {
reply.header('X-Robots-Tag', 'noimageai');
reply.header('X-Robots-Tag', 'noai');
}
@@ -471,7 +471,7 @@ export class ClientServerService {
const profile = await this.userProfilesRepository.findOneByOrFail({ userId: note.userId });
const meta = await this.metaService.fetch();
reply.header('Cache-Control', 'public, max-age=15');
- if (profile.preventAiLarning) {
+ if (profile.preventAiLearning) {
reply.header('X-Robots-Tag', 'noimageai');
reply.header('X-Robots-Tag', 'noai');
}
@@ -514,7 +514,7 @@ export class ClientServerService {
} else {
reply.header('Cache-Control', 'private, max-age=0, must-revalidate');
}
- if (profile.preventAiLarning) {
+ if (profile.preventAiLearning) {
reply.header('X-Robots-Tag', 'noimageai');
reply.header('X-Robots-Tag', 'noai');
}
@@ -542,7 +542,7 @@ export class ClientServerService {
const profile = await this.userProfilesRepository.findOneByOrFail({ userId: flash.userId });
const meta = await this.metaService.fetch();
reply.header('Cache-Control', 'public, max-age=15');
- if (profile.preventAiLarning) {
+ if (profile.preventAiLearning) {
reply.header('X-Robots-Tag', 'noimageai');
reply.header('X-Robots-Tag', 'noai');
}
@@ -570,7 +570,7 @@ export class ClientServerService {
const profile = await this.userProfilesRepository.findOneByOrFail({ userId: clip.userId });
const meta = await this.metaService.fetch();
reply.header('Cache-Control', 'public, max-age=15');
- if (profile.preventAiLarning) {
+ if (profile.preventAiLearning) {
reply.header('X-Robots-Tag', 'noimageai');
reply.header('X-Robots-Tag', 'noai');
}
@@ -596,7 +596,7 @@ export class ClientServerService {
const profile = await this.userProfilesRepository.findOneByOrFail({ userId: post.userId });
const meta = await this.metaService.fetch();
reply.header('Cache-Control', 'public, max-age=15');
- if (profile.preventAiLarning) {
+ if (profile.preventAiLearning) {
reply.header('X-Robots-Tag', 'noimageai');
reply.header('X-Robots-Tag', 'noai');
}