Build independently with EchoionApi SDK
This commit is contained in:
1 parent
9044e4a9d4
commit
16d94a174a
3 files changed
+46
-9
No files matched your search
@@ -1,5 +1,5 @@
|
||||
#include <echoion/plugins/short_url/InternalStore.hpp>
|
||||
#include <echoion/plugins/short_url/Common.hpp>
|
||||
#include <echoion/api/plugin/ShortUrlSupport.hpp>
|
||||
|
||||
#include <openssl/rand.h>
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
namespace Echoion::Plugins::ShortUrl
|
||||
{
|
||||
using namespace Echoion::Api::Plugin::ShortUrl;
|
||||
|
||||
namespace
|
||||
{
|
||||
constexpr std::string_view kAlphabet =
|
||||
|
||||
+3
-1
@@ -1,4 +1,4 @@
|
||||
#include <echoion/plugins/short_url/Common.hpp>
|
||||
#include <echoion/api/plugin/ShortUrlSupport.hpp>
|
||||
#include <echoion/plugins/short_url/InternalStore.hpp>
|
||||
|
||||
#include <ExtensionPlugin.hpp>
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
namespace Echoion::Plugins::ShortUrl
|
||||
{
|
||||
using namespace Echoion::Api::Plugin::ShortUrl;
|
||||
|
||||
namespace
|
||||
{
|
||||
constexpr std::string_view kPluginId{"url-shortener-internal"};
|
||||
|
||||
Reference in new issue
Block a user