-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
33 lines (32 loc) · 944 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/** @type {import('next').NextConfig} */
const nextConfig = {
env: {
USERS_API_URL: 'https://frontend-test-assignment-api.abz.agenc/api/v1/users/',
API_URL: 'https://frontend-test-assignment-api.abz.agency/api/v1',
API_PATH_POSITION: '/positions',
API_PATH_USERS: '/users',
API_PATH_TOKEN: '/token',
},
images: {
formats: ['image/avif', 'image/webp'],
minimumCacheTTL: 60,
dangerouslyAllowSVG: true,
contentDispositionType: 'attachment',
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
deviceSizes: [
320, 360, 400, 425, 480, 640, 750, 768, 800, 828, 980, 1024, 1050, 1100, 1180, 1200, 1540,
1920, 2048, 3840,
],
remotePatterns: [
{
protocol: 'https',
hostname: 'frontend-test-assignment-api.abz.agency',
port: '',
},
],
},
experimental: {
serverActions: false,
},
};
module.exports = nextConfig;