mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-21 17:52:31 +01:00
prettier
This commit is contained in:
parent
6536f2e1fe
commit
779dc55dd8
10
.prettierrc
10
.prettierrc
@ -1,3 +1,11 @@
|
||||
{
|
||||
"tabWidth": 4
|
||||
"trailingComma": "all",
|
||||
"tabWidth": 4,
|
||||
"semi": true,
|
||||
"arrowParens": "always",
|
||||
"bracketSameLine": false,
|
||||
"bracketSpacing": true,
|
||||
"quoteProps": "as-needed",
|
||||
"useTabs": true,
|
||||
"singleQuote": false
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
.map((x, i) =>
|
||||
x.indexOf("<<") == 2 // if this column is the `value` column
|
||||
? x.split(" ").reverse()[0] // get the value we shift by
|
||||
: x
|
||||
: x,
|
||||
); // otherwise dont do anything
|
||||
const mount = document.getElementById("rights-container");
|
||||
const outputMount = document.getElementById("rights-output");
|
||||
|
@ -3,10 +3,11 @@
|
||||
!!! info "[Have you read the Code of Conduct?](conduct.md)"
|
||||
|
||||
## Notable Technologies
|
||||
* Typescript
|
||||
* [Typeorm](https://www.npmjs.com/package/typeorm)
|
||||
* [WS](https://www.npmjs.com/package/ws)
|
||||
* [Express](https://www.npmjs.com/package/express)
|
||||
|
||||
- Typescript
|
||||
- [Typeorm](https://www.npmjs.com/package/typeorm)
|
||||
- [WS](https://www.npmjs.com/package/ws)
|
||||
- [Express](https://www.npmjs.com/package/express)
|
||||
|
||||
## Structure
|
||||
|
||||
|
@ -6,12 +6,14 @@ There are 3 options, all of which require the Fosscord server have [erlpack](htt
|
||||
to the Fosscord web app URL. This assumes the Fosscord instance has the [test client](../server/Test%20Client/index.md) enabled.
|
||||
|
||||
1. You may edit your desktop client's `settings.json` file at
|
||||
`%appdata%/discord/settings.json`,
|
||||
adding the following line
|
||||
`%appdata%/discord/settings.json`, adding the following line
|
||||
|
||||
```json
|
||||
"WEBAPP_ENDPOINT" : "https://your_fosscord_instance_url"
|
||||
```
|
||||
|
||||
such that it looks like this, as an example
|
||||
|
||||
```json
|
||||
{
|
||||
"IS_MAXIMIZED": true,
|
||||
@ -26,6 +28,7 @@ such that it looks like this, as an example
|
||||
"WEBAPP_ENDPOINT": "https://your_fosscord_instance_url"
|
||||
}
|
||||
```
|
||||
|
||||
This also assumes the Fosscord instance has enabled the test client.
|
||||
|
||||
1. If an instance does not have the test client enabled, you can [host the proxy yourself](https://github.com/fosscord/Discord-Client-Proxy),
|
||||
|
Loading…
Reference in New Issue
Block a user