how to put api in code? #178
Replies: 3 comments
-
Hi there, if you cannot access the settings you can manually edit the
I'm not sure if this will work if you've never saved the settings with this extension installed, since it will then not detect this setting as existing, and thus fail to detect the default value. If changing the line above didn't work, you can try editing the following 2 files: Both of these files will contain the same line on those locations, being:
here you can insert your API key like so:
|
Beta Was this translation helpful? Give feedback.
-
it dosent work, i tried all of these. any other solution? every time |
Beta Was this translation helpful? Give feedback.
-
sorry for the delayed response. The only other thing that you can do to ensure that the API key is being used is by replacing the lines mentioned before with:
|
Beta Was this translation helpful? Give feedback.
-
i need to put api from code because im hosting the SD publicly and cant give access to setting and my hosting service doesn't supports file access. so need to put my api from beginning, how do i do it? which file has the api
Beta Was this translation helpful? Give feedback.
All reactions