mirror of
https://github.com/rikkaneko/paste.git
synced 2025-08-03 20:50:08 +01:00
Fix typo
This commit is contained in:
parent
222867dd81
commit
ef9b6e7334
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ export default {
|
||||||
|
|
||||||
const agent = headers.get('user-agent') ?? '';
|
const agent = headers.get('user-agent') ?? '';
|
||||||
// Detect if request from browsers
|
// Detect if request from browsers
|
||||||
const is_browser = ['Mozilla', 'AppleWebKit', 'Chrome', 'Safari', 'Gecko'].some(v => agent.includes(v));
|
const is_browser = ['Chrome', 'Mozilla', 'AppleWebKit', 'Safari', 'Gecko', 'Chromium'].some(v => agent.includes(v));
|
||||||
|
|
||||||
const s3 = new AwsClient({
|
const s3 = new AwsClient({
|
||||||
accessKeyId: env.AWS_ACCESS_KEY_ID,
|
accessKeyId: env.AWS_ACCESS_KEY_ID,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue