mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
Merge branch 'master' of https://github.com/srgooglo/comty
This commit is contained in:
commit
6aab1883aa
5
.github/workflows/codeql-analysis.yml
vendored
5
.github/workflows/codeql-analysis.yml
vendored
@ -6,13 +6,10 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [master]
|
||||
schedule:
|
||||
- cron: '0 18 * * 5'
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
@ -2,3 +2,4 @@
|
||||
[](https://www.codefactor.io/repository/github/srgooglo/comty)
|
||||
[](https://trello.com/invite/b/UbwvlG1I/2bc02725b9b210d2e9e9a82c5040b895/comty-development)
|
||||
[](https://discord.gg/uMRSKDW)
|
||||

|
||||
|
@ -118,6 +118,28 @@ export default {
|
||||
})
|
||||
|
||||
|
||||
queryIndexer([
|
||||
{
|
||||
match: '/s;:id',
|
||||
to: `/settings?key=:id`,
|
||||
},
|
||||
{
|
||||
match: '/h;:id',
|
||||
to: `/hashtag?key=:id`,
|
||||
},
|
||||
{
|
||||
match: '/p;:id',
|
||||
to: `/post?key=:id`,
|
||||
},
|
||||
{
|
||||
match: '/@:id',
|
||||
to: `/@/:id`,
|
||||
}
|
||||
], (callback) => {
|
||||
window.location = callback
|
||||
})
|
||||
|
||||
|
||||
if (!service) {
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user