Skip to content

Commit

Permalink
get rid of all colons for reals
Browse files Browse the repository at this point in the history
  • Loading branch information
SheepTester committed May 9, 2024
1 parent 12e2159 commit 2244bc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GZCTF/ClientApp/src/utils/usePageTitle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useConfig } from '@Utils/useConfig'
export const usePageTitle = (title?: string) => {
const { config, error } = useConfig()

const platform = error ? 'GZ::CTF' : `${config?.title ?? 'GZ'}::CTF`
const platform = error ? 'GZ::CTF' : `${config?.title ?? 'GZ'}CTF`

useDocumentTitle(
typeof title === 'string' && title.trim().length > 0 ? `${title} - ${platform}` : platform
Expand Down
2 changes: 1 addition & 1 deletion src/GZCTF/Services/MailSender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,5 @@ public class MailContent(
/// <summary>
/// 平台名称
/// </summary>
public string Platform { get; } = $"{globalConfig.Value.Title}::CTF";
public string Platform { get; } = $"{globalConfig.Value.Title}CTF";
}

0 comments on commit 2244bc0

Please sign in to comment.