Added config properties for max req/s and max concurrent requests

This commit is contained in:
grimsi
2022-08-10 21:01:24 +02:00
parent 6d0f0d4c01
commit c196fd2cbc
8 changed files with 53 additions and 32 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "frontend",
"version": "0.0.1-SNAPSHOT",
"version": "@project.version@",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "frontend",
"version": "0.0.1-SNAPSHOT",
"version": "@project.version@",
"dependencies": {
"@angular/animations": "^14.0.0",
"@angular/cdk": "^14.1.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "0.0.1-SNAPSHOT",
"version": "@project.version@",
"scripts": {
"ng": "ng",
"start": "ng serve",
+9 -9
View File
@@ -5,7 +5,7 @@
<parent>
<artifactId>gameyfin</artifactId>
<groupId>de.grimsi</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -18,6 +18,13 @@
</properties>
<build>
<resources>
<resource>
<directory>./dist/frontend</directory>
<targetPath>static</targetPath>
</resource>
</resources>
<plugins>
<!-- clean the dist directory used by Angular -->
<plugin>
@@ -63,19 +70,12 @@
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build --prod</arguments>
<arguments>run build --omit=dev</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>./dist/frontend</directory>
<targetPath>static</targetPath>
</resource>
</resources>
</build>
</project>