mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Add API config.
This commit is contained in:
@@ -103,7 +103,7 @@ const pkgdef :Spk.PackageDefinition = (
|
|||||||
# not have been detected as a dependency during `spk dev`. If you list
|
# not have been detected as a dependency during `spk dev`. If you list
|
||||||
# a directory here, its entire contents will be included recursively.
|
# a directory here, its entire contents will be included recursively.
|
||||||
|
|
||||||
#bridgeConfig = (
|
bridgeConfig = (
|
||||||
# # Used for integrating permissions and roles into the Sandstorm shell
|
# # Used for integrating permissions and roles into the Sandstorm shell
|
||||||
# # and for sandstorm-http-bridge to pass to your app.
|
# # and for sandstorm-http-bridge to pass to your app.
|
||||||
# # Uncomment this block and adjust the permissions and roles to make
|
# # Uncomment this block and adjust the permissions and roles to make
|
||||||
@@ -165,12 +165,12 @@ const pkgdef :Spk.PackageDefinition = (
|
|||||||
# ),
|
# ),
|
||||||
# ],
|
# ],
|
||||||
# ),
|
# ),
|
||||||
# #apiPath = "/api",
|
apiPath = "/api/v1/",
|
||||||
# # Apps can export an API to the world. The API is to be used primarily by Javascript
|
# # Apps can export an API to the world. The API is to be used primarily by Javascript
|
||||||
# # code and native apps, so it can't serve out regular HTML to browsers. If a request
|
# # code and native apps, so it can't serve out regular HTML to browsers. If a request
|
||||||
# # comes in to your app's API, sandstorm-http-bridge will prefix the request's path with
|
# # comes in to your app's API, sandstorm-http-bridge will prefix the request's path with
|
||||||
# # this string, if specified.
|
# # this string, if specified.
|
||||||
#),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
const myCommand :Spk.Manifest.Command = (
|
const myCommand :Spk.Manifest.Command = (
|
||||||
|
Reference in New Issue
Block a user