Skip to content

Commit d9c01dd

Browse files
committed
Remove comment and add note to highlight it properly
1 parent e4ac616 commit d9c01dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ Create new file `xero_config.php` in `config` directory:
4040
```php
4141
<?php
4242

43-
/**
44-
* Do not forget to replace "https://example.com" with your website URL
45-
*/
4643
return [
4744
'XeroOauth2' => [
4845
'clientId' => 'your-client-id',
@@ -57,12 +54,15 @@ return [
5754
'accounting.contacts',
5855
// Any other scopes needed for your application goes here
5956
],
60-
// Must end with `/success` so do not remove it while replacing it with your website URL
6157
'successUrl' => 'http://example.com/success'
6258
]
6359
];
6460
```
6561

62+
**Note:**
63+
- Do not forget to replace "https://example.com" with your website URL in your `config/xero_config.php` file.
64+
- Success url(`XeroOauth2.successUrl`) must end with `/success`, so do not remove it while replacing it with your website URL.
65+
6666
After creating the configuration file, make sure to load the file in your `bootstrap.php` using `Configure::load('xero_config', 'default');`.
6767

6868
**Important:**

0 commit comments

Comments
 (0)