mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 09:05:52 +02:00
Fixed problem with kicad footprint autcomplete when using a reverse proxy in a prefixed path
This fixes issue #587
This commit is contained in:
parent
75df0198fc
commit
1bf9f25ded
1 changed files with 3 additions and 2 deletions
|
@ -36,8 +36,9 @@ class KicadFieldAutocompleteType extends AbstractType
|
|||
public const TYPE_FOOTPRINT = 'footprint';
|
||||
public const TYPE_SYMBOL = 'symbol';
|
||||
|
||||
public const FOOTPRINT_PATH = '/kicad/footprints.txt';
|
||||
public const SYMBOL_PATH = '/kicad/symbols.txt';
|
||||
//Do not use a leading slash here! otherwise it will not work under prefixed reverse proxies
|
||||
public const FOOTPRINT_PATH = 'kicad/footprints.txt';
|
||||
public const SYMBOL_PATH = 'kicad/symbols.txt';
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver): void
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue