full-stack-fastapi-template
                                
                                 full-stack-fastapi-template copied to clipboard
                                
                                    full-stack-fastapi-template copied to clipboard
                            
                            
                            
                        Fix parse_cors function to be consistent for both empty string and empty list
Fix the parse_cors function in config.py so that it behaves consistently for both empty string and empty list.
Currently, when an empty list is provided as an argument, it returns an empty list ([]). However, when an empty string ("") is provided, it returns a list with an empty string ([""]) and starting the FastAPI application fails.