mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Static Asset Management (#9292)
* Caddyfile: Redirect asset requests - Ensure the static asset files are served by the proxy - Reduce gunicorn / python load - Significant server performance increase * Allow CORS requests to 'assets' path * Update static assets path for vite build * Remove RedirectAssetView * Specify relative base path Ref: https://vite.dev/guide/build.html#relative-base * Revert settings.py * Revert caddyfile * Remove defunct unit test * Add timeout to test
This commit is contained in:
		| @@ -38,6 +38,8 @@ test('Plugins - Settings', async ({ page, request }) => { | ||||
|     .fill(originalValue == '999' ? '1000' : '999'); | ||||
|   await page.getByRole('button', { name: 'Submit' }).click(); | ||||
|  | ||||
|   await page.waitForTimeout(500); | ||||
|  | ||||
|   // Change it back | ||||
|   await page.getByLabel('edit-setting-NUMERICAL_SETTING').click(); | ||||
|   await page.getByLabel('number-field-value').fill(originalValue); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user