web: fix linting errors by adding a wrapper for next param
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -61,4 +61,11 @@ export const DEFAULT_CONFIG = new Configuration({ | ||||
|     ], | ||||
| }); | ||||
|  | ||||
| // This is just a function so eslint doesn't complain about | ||||
| // missing-whitespace-between-attributes or | ||||
| // unexpected-character-in-attribute-name | ||||
| export function AndNext(url: string): string { | ||||
|     return `?next=${encodeURIComponent(url)}`; | ||||
| } | ||||
|  | ||||
| console.debug(`authentik(early): version ${VERSION}, apiBase ${DEFAULT_CONFIG.basePath}`); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer