Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Issue when config file name only contains digits. #61

@jdel

Description

@jdel

I ran the proxy with a config file named 6500.yml, and the app just crashes with
Using custom config /ffrk-proxy-0.8.0/lib/../config/6050.yml
Failed to validate config file /ffrk-proxy-0.8.0/config/6050.yml
[Error: application.config: must be of type String: value was 6050]

If I change the name to include a single character, it works fine. I believe it has something to do with https://github.com/ThauEx/ffrk-proxy/blob/master/lib/config.js#L280 missing some conversion to string.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions