mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4750] a switch to select the config file format. i would like to use toml #3755
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3755
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @halifir on GitHub (Apr 13, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4750
Describe the feature request
$ frps -c /etc/frp/frps.toml
result
json: unknown field "bind_addr"
I would like to have set the settings with a more human readalble format like .ini oder .toml instead of json for JAVA
switch like --config-toml
frps --cconfig-toml /etc/frp/frps.toml
or
frps --cconfig-ini /etc/frp/frps.ini
would be a nice feature.
best reagards
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Apr 14, 2025):
Don't use
bind_addrif you want to use toml. Read the docs first.@halifir commented on GitHub (Apr 14, 2025):
I understand, but I read the docs.
frpc and frps are transforming toml first internal to JSON and if there is a typo in the config by changing .ini to .toml, than the frpc and frsp are displaying an error with "JSON".
The error is misleading, because I used toml, but frpc and frps are exposing internal programming to the user.
Thats ok, the program is with version 0. just in beta and using very high CPU rate. Maybe version 1 will be better.
thank yyou and bye
@fatedier commented on GitHub (Apr 14, 2025):
Please read the doc first and use
bindAddr.